Part Number Hot Search : 
1H220M MIC5258 394889 4304502 1H220M 012206 CS852 1H220M
Product Description
Full Text Search
 

To Download MT90840 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  2-231 features ? time slot interchange function between eight pairs of st-bus/gci/mvip ? streams (512 channels) and parallel data port ? programmable data rates on the parallel port (19.44, 16.384, or 6.480 mbyte/s) ? programmable data rates on the serial port (2.048 mbps, 4.096 mbps or 8.192 mbps) ? supports star and point-to-point connections, and unidirectional or bidirectional ring topologies for distributed systems ? input-to-output bypass function on the parallel data port for use in add/drop applications ? provides elastic buffer at parallel input port in the receive direction ? provides byte switching for up to 2430 channels ? per-channel direction control on the serial port side ? per-channel message mode and high-impedance control on both parallel and serial port sides ? 8-bit multiplexed microprocessor port compatible with intel and motorola microcontrollers ? guarantees frame integrity when switching nx64 wideband channels such as isdn h0 channel ? provides external control lines allowing fast parallel interface to be shared with other devices ? diagnostic alarm functions and clock phase-status word for clock monitoring ? ieee 1149 (jtag) boundary scan port applications ? bridging st-bus/mvip buses to high speed time division multiplexed backplanes at sonet rates (sts-1, sts-3) ? high speed isochronous backbones for distributed pbx and lan systems ? switch platforms of up to 2430 channels with guaranteed frame integrity for wideband channels ? serial bus control and monitoring ? data multiplexing ? high speed communications interface issue 3 july 2002 ordering information MT90840al 100 pin pqfp MT90840ap 84 pin plcc -40 c to 85 c figure 1 - functional block diagram MT90840 distributedhyperchannelswitch data sheet output mux & pdo0 pdo7 2430 position tx path connection memory bidirectional i/o driver 8 serial to parallel & parallel to serial conver- bidirectional i/o driver sti7 sti0 sto7 sto0 4 cto0-3 timing control unit pdi0 pdi7 pckr pckt res ppfri ppfti/o f0i/o cpu interface internal registers test pins 5 8 8 s p c k o c 4 / 8 r 1 c 4 / 8 r 2 i r q a d 0 - 7 r / w \ w r a s / a l e c s d t a v d d v s s d s / r d ters multiple pages of 512 position tx path data memory 8 512 position rx path 8 multiple pages of 2430-byte rx path data memory 15 8 8 connection memory jtag drivers 16
MT90840 data sheet 2-232 figure 2 - pin connections n c n c n c n c n c 74 56 58 60 62 64 68 70 72 66 12 28 26 24 22 18 16 14 20 32 30 54 1 0 8 6 4 2 8 4 8 2 8 0 7 8 7 6 3 4 3 6 3 8 4 0 4 2 4 4 4 6 4 8 5 0 5 2 84 pin plcc 100 pin pqfp 50 52 54 56 58 60 62 64 66 68 70 72 74 76 78 80 22 24 26 28 30 32 34 36 38 40 44 46 48 42 82 100 98 96 94 92 88 86 84 90 20 18 16 14 12 10 8 6 4 2 n c n c n c n c n c v d d n c n c n c n c n c n c n c sto0 sto1 sto2 sto3 sto4 sto5 sto6 sto7 pckt pckr vdd spcko vss tdo tms tck trst tdi vss ppfri vdd a d 0 a d 1 a d 2 a d 3 a d 4 a d 5 a d 6 a d 7 r / w d s / r d v d d a s / a l e c s d t a r e s i c v s s v s s v d d n c sti0 sti1 sti2 sti3 sti4 sti5 sti6 sti7 c4/8r1 c4/8r2 nc f0i/o vss vdd nc cto3 cto2 cto1 cto0 vss vdd p d i 0 p d i 4 p d i 5 p d i 6 p d i 7 v d d v s s p p f t i / o p d o 0 p d o 1 p d o 2 p d o 3 p d o 4 p d o 5 p d o 6 p d o 7 v d d p d i 1 p d i 2 p d i 3 v s s p c k r p c k t p p f r i t d i t c k t m s t r s t s t o 6 v s s v d d t d o v d d s t o 7 s p c k o s t o 5 s t o 4 s t o 3 s t o 2 s t o 0 v s s s t o 1 irq cs as/ale ad0 dta vdd vss ad4 ad3 r/w ad7 ad2 res ic ad6 ad1 ds / rd ad5 nc nc s t i 3 v s s s t i 0 v d d s t i 1 s t i 2 s t i 4 s t i 5 s t i 7 f 0 i / o c 4 / 8 r 2 v s s c t o 3 c t o 1 c t o 0 v s s v d d v d d s t i 6 c t o 2 c 4 / 8 r 1 pdo5 pdi7 pdo7 pdo6 pdo4 pdo3 pdo2 pdo0 pdo1 ppfti/o vss pdi0 pdi6 vdd pdi5 pdi1 pdi4 pdi2 vss pdi3 i r q
data sheet MT90840 2-233 pin description pin # name description 84 100 3 43 ds / rd data strobe/read (input ). in motorola multiplexed-bus mode this pin is ds, an active high input which works with cs to enable read and write operation. in intel/ national multiplexed-bus mode this pin is rd , an active low input which enables a read-cycle and configures the data bus lines (ad0-ad7) as outputs. 4 44 as/ale address strobe / address latch enable (input ). falling edge is used to sample address into the address latch circuit. 5 45 cs chip select (input) . active low input enabling a microprocessor read or write of control or status registers. 6 46 dta data acknowledgment (active low output) . indicates that a data bus transfer is complete. when the bus cycle ends, this pin drives high and then tri-states, allowing for faster bus cycles with a weaker pull-up resistor. a pull-up resistor is required to hold a high level when the pin is tri-stated. note that cpu read/writes from/to the data and connection memories occur on the serial or parallel port clock edges, and dta will not change state if the clock is halted. 7 47 irq interrupt request (active high output) . output indicates that the MT90840 has detected an alarm condition. the indication of the specific condition can be read in the als (alarm status) register. the cpu should read als, identify the source for the interrupt and then rewrite the mask bits to re-enable the irq signal. 8 48 res reset (schmitt input). asynchronous device reset. a logic-high signal should be applied during power-up to bring the MT90840 internal circuitry to a defined state. serial and parallel tdm outputs (sto0-7, sti0-7, and pdo0-7) are held in high-impedance state after reset until programmed otherwise. this input must be held low during normal operation. 9 49 ic internal connection . the user must connect this pin to v ss . this pin must remain low for the MT90840 to function normally, and to comply with ieee 1149 (jtag) boundary scan requirements. this pin is pulled low internally when not driven. 10, 26, 27 1-4, 27-31 50-54 76-80 nc no connection. 13-20 57-64 sti0-sti7 serial inputs 0 to 7 (bidirectional) . serial tdm data-streams at 2.048, 4.096 or 8.192 mbps, with 32, 64 or 128 channels respectively per stream. for 2.048 and 4.096 mbps applications, streams sti0-sti7 can be used, while for 8.192 mbps, only streams sti0-sti3 are used (512 channel limit). these eight bidirectional lines can be programmed as inputs (default) or outputs on a per-channel basis. 21 65 c4/8r1 serial clock reference input 1. when enabled by the c4/8r bit (high) in the tim register, this input receives the 4.096 or 8.192 mhz serial port clock reference. if the c4/8r bit is set low, or if the intclk bit is set high, this input is ignored by the MT90840. in timing mode 1 (tm1), or at 8.192 mhz, the c4/8 input is used directly to shift data in and out of the serial port. in timing mode 2 (tm2) at 4.096 mhz, the c4 input from an external clock source (e.g. a pll locked to an 8 khz reference) is phase-corrected by the MT90840, and used to generate the serial port spcko and f0 outputs. in timing modes 3 and 4 (tm3 and tm4) this input is not used. for more details on the use of this signal, see the description of timing mode 1 and timing mode 2.
MT90840 data sheet 2-234 22 66 f0i/o serial port frame synchronization (bidirectional). this 8 khz frame pulse signal indicates the tdm 125 m sec frame boundary on the serial data port. this pin is compatible with both st-bus/mvip and gci formatted framing signals. in tm1 this pin is an input, and the MT90840 senses the polarity of this frame pulse and automatically adapts the serial data port timing to the applicable format (st-bus or gci). in tm2 with sfdi =1 this signal is an input, and its expected format is determined by the spfp bit in the gpm register. in tm2 (with sfdi =0), and in tm3, this signal is an output, generated from the internal timing and synchronized to the spcko output clock. the polarity of the f0 pulse is determined by the spfp bit in the gpm register. in tm4 this pin is not used. 23 67 c4/8r2 c4/8r2 serial clock reference input 2. when enabled by the c4/8r bit (low) in the tim register, this input receives the 4.096 or 8.192 mhz serial port clock reference. if the c4/8r bit is set high, or if the intclk bit is set high, this input is ignored by the MT90840. (see pin description for c4/8r1.) 28-31 70-73 cto3- cto0 external control lines 3 to 0 (output). output signals generated from the MT90840 transmit path connection memory (tpcm). the four serial cto output lines represent the contents of the four ct bits in the tpcm, and are clocked at the parallel port rate (up to 19.44 mhz). see per-channel functions section. 34-41 81-88 pdo7-pdo 0 parallel data output port 7 to 0 (output) . these eight outputs carry the parallel port data bytes in the transmit direction and operate at data rates up to 19.44 mbyte/s. 42 89 ppfti/o parallel port framing, transmit (bidirectional). this signal delineates the start of a new data frame at the pdo0-7 lines on the transmit parallel port. normally an output, when the pfdi bit in the tim register is set high ppft becomes an input, and is used to receive the frame reference from another MT90840. used in all timing modes except tm3. 45-52 92-99 pdi7-0 parallel data input port 7 to 0 (input) . these eight inputs carry the parallel port data bytes in the receive direction and operate at data rates up to 19.44 mbyte/s. 55 6 pckr parallel port clock, receive (input). this is a 19.44, 16.384, or 6.48 mhz clock input. it might typically be provided by a high speed framer. pckr clocks in data on the receive parallel port (pdi7-0 and ppfri). in timing modes 2, 3, and 4, pckr clocks both the transmit and receive parallel ports. 56 7 pckt parallel port clock, transmit (input ). this is a 19.44, 16.384, or 6.48 mhz clock input. it might typically be provided by a high speed framer. in tm1 pckt clocks out the data on the transmit parallel port (pdo0-7, cto0-3, and ppfto). in tm2, tm3, & tm4, this input is ignored. 57 8 ppfri parallel port framing, receive (input) . this 8 khz frame pulse input determines the start of a new frame at the pdi0-7 lines of the receive parallel port. it might typically be connected to the frame pulse output of a high speed framer. in tm3, ppfri is the frame sync reference for both the transmit and receive parallel ports. 58 9 tdi test data ( input ). jtag serial test instructions and data are shifted in on this pin on rising tck. this pin is pulled high internally when not driven. pin description (continued) pin # name description 84 100
data sheet MT90840 2-235 59 10 trst test reset ( input ). asynchronously initializes the jtag tap controller, placing it in the test-logic-reset state. this pin is pulled high internally when not driven. this pin should be pulsed low on power-up, or held low continuously, to ensure that the MT90840 is in the normal functional state, and not the test state. 60 11 tck test clock ( input ). provides the clock to the jtag test logic. this pin is pulled high by an internal pull-up when not driven. 61 12 tms test mode select ( input ). jtag signal that controls the state transitions of the tap controller, sampled on rising tck. this pin is pulled high by an internal pull-up when not driven . 62 13 tdo test data ( output ). jtag serial data is output on this pin on the falling edge of tck. this pin is held in a high impedance state when jtag scan is not enabled. 65 16 spcko serial port clock (output) in tm2 and tm3, this is a 4.096 mhz clock output derived from the system 4.096 mhz reference. (as controlled by the c4/8r bit and the intclk bit in the tim register.) this output is used to shift data in and out of the serial port. in tm1 and tm4, this output is automatically placed in high impedance. for applications with the serial port running at 8.192 mbps this output is not used, and an 8.192 mhz clock source must be supplied at c4/8r1 or c4/8r2. 66-73 17-24 sto7-sto 0 serial output streams 7 to 0 (bidirectional) . serial tdm data-streams at 2.048, 4.096 or 8.192 mbps, with 32, 64 or 128 channels respectively per stream. for 2.048 and 4.096 mbps applications, streams sto0-sto7 can be used, while for 8.192 mbps, only streams sto0-sto3 are used (512 channel limit). these eight bidirectional lines can be programmed as inputs or outputs (default) on a per-channel basis. 76-83 32-39 ad0-ad7 multiplexed address/data bus (bidirectional ). these i/o lines provide an 8-bit interface to a microprocessor for control and monitoring of the MT90840. these pins function as eight input address lines to the address latch circuit as well as eight data i/o lines. 84 40 r/ w \ wr read/ write \ write (input) . in motorola multiplexed-bus mode this input is r/ w , which controls the direction of the data bus lines (ad0-ad7) during a microprocessor access. in intel/national multiplexed-bus mode this input is wr , an active low signal which configures the data bus lines (ad0-ad7) as inputs during a microprocessor write access. 1,11 24,32, 43,53, 64,74 15,25, 41,55, 68,74, 90,10 0 v ss ground . 2, 12, 25,33 44,54, 63,75 5, 14, 26,42 56,69, 75,91 v dd +5 volt power supply. pin description (continued) pin # name description 84 100
MT90840 data sheet 2-236 functional description the MT90840 distributed hyperchannel switch is a large switching, multiplexing, and rate-adapting device. the MT90840 bridges serial-bus telecom components, using the zarlink st-bus or other industry-standard serial buses, onto a higher speed ?backbone?. mixed data, voice and video signals can be time-interchanged or multiplexed from serial time division multiplexed (tdm) streams onto a high speed parallel bus. the parallel bus can be used for interconnect, or an external framer can be connected to the parallel bus to access serial isochronous backbones operating at up to 155 mbps sonet rates (sts-3). the MT90840 distributed hyperchannel switch supports real-time multimedia applications through constant delay switching. multimedia data at n x 64 kbps rates uses n bytes (?time slots?, or ?channels?) per 125 m sec frame. this is also referred to as hyperchannel data. to ensure the integrity of data at n x 64 kbps rates, the network must ensure that the n bytes in a given input frame remain together as a frame, and arrive at the destination as a frame. the MT90840 supports this requirement by providing constant delay (frame integrity) which ensures that the multiple time slots of associated data remain in the intended order. total tdm channel capacity of the MT90840 at maximum data rates is: ? 512 serial input time slots, ? 512 serial output time slots, ? 2430 parallel input time slots, and ? 2430 parallel output time slots. the number of time slots available is dependent upon the selected data rates, and is reduced at lower data rates. figure 1 shows the MT90840 functional block diagram. the figure shows the tdm data paths and the device interfaces. the MT90840 has three main tdm data paths: ? transmit path: serial port input (sti) to parallel port output (pdo), ? receive path: parallel port input (pdi) to serial port output (sto), ? bypass and parallel-switching: pdi to pdo. in addition, zarlink message mode capabilities allow the user to force data on tdm output time slots and to monitor tdm input time slots through the microprocessor port. the MT90840 has four main interfaces: ? the serial tdm bus interface (sti, sto and timing), ? the parallel tdm bus interface (pdi, pdo and timing) with programmable control outputs (cto), ? the microprocessor (cpu) interface, ? the test interface (jtag). the MT90840 supports four major timing/switching modes: ? tm1/ring master: pdo timing slaved to sti/o timing, pdi timing elastic; ? tm2/ring slave: pdo and sti/o timing slaved to pdi; ? tm3/bus slave: pdo and pdi timing tied together, sti/o timing slaved to parallel bus; ? tm4/parallel switching: parallel channel switching from pdi to pdo. other features of the MT90840 are programmable for individual tdm channels on the serial and parallel ports (per-channel features): ? zarlink message mode, ? per-channel output enable, ? per-channel bypass (parallel bus), ? programmable cto control outputs (parallel bus), ? per-channel direction control (serial bus). device operation time slot interchange operation (switching) the MT90840 provides access and time slot interchange (switching) functions between the serial and parallel tdm data ports. switching is provided on three paths: transmit (serial input to parallel output), receive (parallel input to serial output) and bypass/parallel-switching (parallel input to parallel output). switching functions between serial data streams are not provided. the MT90840 guarantees wideband or hyper-channel data integrity through the switch by using constant delay switching. this is done by storing a full frame (125 m sec ) of data at the input rate and then, under control of the connection memory for that path, reading the frame at the output data rate (frame integrity). therefore the transmit path and the receive path each have separate data and connection memories. switching in a given data path is controlled by programming the connection memory for that path. each output time slot has a control-address in the path?s connection memory. each input time slot has
data sheet MT90840 2-237 figure 3 - serial port interface functional timing figure 4 - parallel data port functional timing c4/8r1&2 serial i/o 2 mbps serial i/o 4 mbps frame boundary established by f0 ch. 31 bit 1 ch. 31 bit 0 ch. 0 bit 7 ch. 0 bit 6 ch. 63 bit 2 ch. 63 bit 1 ch. 63 bit 0 ch. 0 bit 7 ch. 0 bit 6 ch. 0 bit 5 ch.127 serial i/o 8 mbps (8 mhz) c4/8r1&2 (4 mhz) b3 ch.127 b2 ch.127 b1 ch.127 b0 ch. 0 b7 ch. 0 b6 ch. 0 b5 ch. 0 b4 frame boundary established by ppfri pckr ppfri pdi0-7 ch. n-2 ch. n-1 ch. n ch. 0 ch. 1 ch. 2 frame boundary established by ppfti/o pckr or pckt ppfti/o pdo0-7 ch. 0 ch. 1 ch. 2 notes: in tm1, 2 and 4 ppfri and ppft are not simultaneous. (ppfp bit =1) ch. n-2 ch. n-1 ch. n terminal count ?n? = 2429, 2047, or 809. (tcp bit = 0)
MT90840 data sheet 2-238 an address-value in the path?s data memory. a given output time slot is controlled by programming the connection memory control-address with the address-value of the source input time slot. at the same control-address the output time slot is enabled or tri-stated and other per-channel functions set up. thus each output time slot is individually controlled, and any given input time slot might be copied to one, several, or none of the output time slots. transmit path the transmit path is from the serial inputs, through the transmit (tx) path data memory, to the parallel outputs (pdo0-7). this path is controlled by the contents of the tx connection memory. the tx connection memory is programmed, for each output time slot, with the address-value of the source channel to be read out of the tx data memory. up to 512 channels of serial input can be switched to up to 2430 channels of parallel output. transmit path connection memory the tx path connection memory is structured as 2430 words of 16 bits. this supports up to 2430 ds0 channels for parallel rates up to 19.44 mbyte/s (155 mbps). the tx path connection memory is accessed as two-sub memories: high and low. the connection memory low (2430 x 8) is the low byte of the word, and is programmed with the address-value of the serial-input source channel. the connection memory high (2430 x 8) is the high byte of the word. connection memory high holds the high-order bit(s) of the source address-value, and is also programmed to control per-channel functions such as output driver-enable and programmable control outputs. transmit path data memory the tx path data memory is structured as 512 words of 8 bits. serial input time slots are converted to parallel bytes and copied to the tx path data memory sequentially, serial-stream by serial-stream. the lowest address of the tx path data memory is sti0-channel0, the next is sti0-channel1, and so on. at 2 mbps, with 32 channels per sti pin, sti1-channel0 would be 32 addresses higher than sti0-channel0. the tx path data memory is read out to the parallel outputs by the tx connection memory. receive path the receive path is from the parallel inputs (pdi0-7), through the receive (rx) path data memory, to the serial outputs. this path is controlled by the contents of the rx path connection memory. the rx path connection memory is programmed, for each output time slot, with the address-value of the source channel to be read out of the rx path data memory. up to 2430 channels of parallel input can be switched to up to 512 channels of serial output. each output byte, whether switched data or message mode data, is read from memory and passed to the parallel-to-serial converters, and then driven out the serial port. receive path connection memory the rx path connection memory is structured as 512 words of 16 bits. this supports up to 512 ds0 channels. the rx path connection memory is accessed as two sub-memories: high and low. the connection memory low (512 x 8) is the low byte of the word, and is programmed with the address-value of the parallel-input source channel. the connection memory high (512 x 8) is the high byte of the word. connection memory high holds the high-order bits of the source address-value, and is also programmed to control per-channel functions such as output driver-enable and direction-control. receive path data memory the rx path data memory is structured as 2430 words of 8 bits (1 byte). parallel input time slots are copied to the rx path data memory sequentially. the rx path data memory is read out to the serial port by the rx path connection memory. bypass/parallel-switching path the bypass/parallel switching path is from parallel input to parallel output. data received at the parallel inputs (pdi0-7) is copied to the rx path receive memory, and may be passed to the parallel outputs (pdo0-7) under control of the tx path connection memory. bypass in ring timing modes (tm1 and tm2) this is a bypass path. when the bypass bit (ppby) for a given parallel output channel is set in the tx path connection memory, the same-address parallel input channel is copied (bypassed) to that parallel output channel. this allows data channels not destined for the local node to be bypassed to the output port and down the ring. ?broadcast? channels destined for every node can also be bypassed, since ppby is an output control, and it does not affect the availability of the receive parallel data for switching to the serial port or monitoring through the cpu interface. parallel switching in parallel switching mode (tm4) this is a switching path, and the tx path connection memory is
data sheet MT90840 2-239 programmed to switch parallel inputs to parallel outputs. for each parallel output channel control-address, the tx path connection memory is programmed with the 12-bit address-value of the desired parallel input channel. serial data port the serial port consists of 16 bidirectional serial data lines (sto0-7, sti0-7), two reference input clock pins (c4/8r1, c4/8r2), one serial clock output (spcko) and a bidirectional frame synchronization signal (f0i/o). the sti pins are the default inputs, but the user can program the direction of the pins on a per-channel basis in the rx path connection memory. the serial port modes are controlled by the dr bits and the fdc bit in the ims register, and are: ? 2.048 mbps balanced: 8 inputs and 8 outputs per serial time slot (fdc = 0), ? 2.048 mbps add/drop: 16 serial i/o individually programmed per time slot (fdc = 1), ? 4.096 mbps: 8 inputs and 8 outputs per time slot, ? 8.192 mbps: 4 inputs and 4 outputs per time slot. figure 3 shows the different data rate configurations for the MT90840 serial port. in addition the user can specify the placement and polarity of the output frame pulse f0o as st-bus or gci compatible, using the spfp bit in the gpm register. in tm1, the MT90840 automatically detects st-bus or gci serial bus modes, based on the polarity of f0i. the user can also specify which of the two input clock pins - c48r1 or c48r2 - to use as the serial port clock source, using the c4/8r bit in the tim register. the user can define the direction of each time slot of the serial port. this per-channel direction control feature is controlled by the dc bit in the rx path connection memory high. this is ideal for applications in computer telephony integration (cti) where per-channel direction control is required within telephony servers. 2.048 mbps balanced mode the 2.048 mbps balanced mode has 8 inputs and 8 outputs active during each serial-byte-period or ?time slot?. at 2.048 mbps, each sti/o pin has 32 8-bit channels per 125 m sec frame , with each individual channel at 64 kbps. (1/125 m sec x 8 bits = 64 kbps, 32 x 64 kbps = 2.048 mbps). this mode supports 256 serial input channels and 256 serial output channels. this mode is ?balanced? in that there are always 8 inputs and 8 outputs during a time slot. if a specific time slot in an output stream (e.g. sto0-channel7) is programmed in the rx path connection memory as an input, the corresponding time slot on the equivalent input stream (i.e. sti0-channel7) is automatically an output. the serial clock for this mode is 4.096 mhz. 2.048 mbps add/drop mode the 2.048 mbps add/drop mode (fdc bit high) has 16 bidirectional streams active during each time slot. this mode allows up to 512 input channels, or up to 512 output channels, or any mix of channels totalling 512 channels. per-channel direction control in the rx connection memory specifies the direction of all 512 serial channels from sto0-channel0 up to sti7-channel31. 4.096 mbps mode the 4.096 mbps mode has 8 inputs and 8 outputs active during each time slot. at 4.096 mbps each sti/o pin has 64 channels of 64 kbps. this mode supports 512 serial input channels and 512 serial output channels. the serial clock is 4.096 mhz. per-channel direction control in this mode is the same as the 2.048 mbps balanced mode. 8.192 mbps mode the 8.192 mbps mode has 4 inputs and 4 outputs active during each serial byte period. at 8.192 mbps, each sti/o pin has 128 channels. this mode supports 512 serial input channels and 512 serial output channels. the serial clock for this mode is 8.192 mhz. per-channel direction control in this mode is the same as the 2.048 mbps balanced mode. serial port clock signals depending on the timing mode selected, the serial port clock is either an input, or an output derived from a reference clock. in modes where the serial clock is derived by the MT90840 from a reference clock, the serial port clock output appears at spcko. the reference clock is either pckr (if intclk is high), or one of c4/8r1 or c4/8r2. the c4/8r bit of the timing mode register is used to select which of c4/8r1 or c4/8r2 will be the clock source or reference pin. switching between clock sources during device operation will cause temporary tdm data errors. internal 4.096 mhz clock generator for tm2 applications running at 19.44 or 16.384 mhz rates on the parallel port, an internal divider can be used to generate a 4.096 mhz clock from the pckr clock input. the internal divider can not be used in applications where the parallel port operates at 6.480 mbyte/s rates. the intclk bit in the tim
MT90840 data sheet 2-240 register enables the internal divider, and the spcko output (and internal 4.096 mhz clocks) are driven by the clock divided-down from pckr. at 16.384 mhz, this is a simple divide-by-4, and the spcko output jitter will depend on the pckr input jitter. at 19.44 mhz, the spcko output jitter will be larger as the divider switches between rising and falling edges of pckr. the serial port timing and f0o frame pulse are tightly slaved to ppfri when intclk is set high. serial frame pulse in tm1, the MT90840 receives the frame reference (f0i) from an external source, and the MT90840 senses the polarity of the frame pulse and adapts the device timing to the appropriate (st-bus or gci) format. in tm2 and tm3, the MT90840 outputs the serial port frame pulse (f0o). positive (gci) or negative (st-bus) frame pulse formats, and the associated clock polarity, can be selected for the f0o signal by programming the spfp bit in the gpm register. this flexibility allows the MT90840 to be employed with different serial bus formats. in applications which require a large number of serial channels in tm2, it is possible to operate multiple MT90840s in parallel using the sfdi control bit (in the tim register). to allow the MT90840s to synchronize their internal timing, all of the MT90840s are connected to the same c4/8 reference source, and one MT90840 in normal tm2 (sfdi set low) supplies f0 to one or more MT90840s in tm2 with sfdi set high. with sfdi set high, f0 becomes an input, and this allows the MT90840 driving f0 to control the timing of one or more other MT90840s. if the internal 4.096 mhz clock divider is used (intclk high) it is not necessary to use the sfdi control, as the serial port timing and f0o frame pulse of each parallel MT90840 will be tightly slaved to ppfri when intclk is set high. should the input framing at f0i cease while the c4/8 clock continues to run, the MT90840 will continue to function as if the frame pulse was asserted after the normal number of clock cycles (free run). if f0i re-commences the MT90840 will immediately sync to f0i, but changes in the f0i interval will temporarily disrupt the tdm data streams. if the f0i input is held asserted, the serial i/o will ?lock up? and operation will be disrupted. parallel data port the MT90840 parallel port is composed of an 8-bit wide parallel data output port (pdo0-7), a 4-bit wide control output port (cto0-3), an 8-bit wide parallel data input port (pdi0-7), a receive frame sync signal (ppfri) and a transmit frame sync signal (ppft), and transmit (pckt) and receive (pckr) clocks. the parallel port rates are controlled by the pps bits in the ims register, and are: ? 19.44 mbyte/s (2430 channels), ? 16.384 mbyte/s (2048 channels), and ? 6.48 mbyte/s (810 channels). the user can further specify the features of the parallel tdm port, including: ? the edge of the parallel port clock used to transmit data and ppfto (see tcp bit in the tim register), ? the polarity of the parallel port frame transmit pulse ppft (see ppfp bit in the gpm register), ? the use of ppft (normally an output) as an input in tm1, if the application requires multiple MT90840 devices to operate in parallel (see pfdi bit in the tim register). the parallel port of the MT90840 is flexible enough to interface to a variety of applications. it can be connected to a framer to access a serial transport backbone running at up to 155 mbps. it can be connected to a backplane-type parallel bus. it can share a parallel bus with other devices, using the control outputs (cto0-3) and the per-channel tristate function to share access to the bus. parallel port clock signals and framing the MT90840's ppfri (parallel port frame pulse receive input) and ppfti/o (parallel port frame pulse transmit i/o) signals synchronize the MT90840 to the high speed data frame. receive data is clocked in at the parallel data inputs (pdi0-7) by the parallel port receive clock (pckr), as framed by receive parallel port frame input (ppfri). in tm2, tm3 and tm4, pckr also clocks the parallel data outputs (pdo0-7), with the framing in tm2 and tm4 indicated by the ppfto output. in tm1, the parallel data outputs are clocked out by pckt, with the framing indicated by ppfto. alternatively, the transmit framing can be controlled by the ppfti input if the pfdi bit in the tim register has been set high, to enable multiple MT90840s to operate in parallel in tm1. should the input framing at ppfri cease while the pckr clock continues to run, the MT90840 will continue to function as if the frame pulse was asserted after the normal number of clock cycles (free run). if ppfri re-commences, the MT90840 will immediately sync to ppfri, but any change in the framing interval will temporarily disrupt the tdm data
data sheet MT90840 2-241 streams, and trigger the ppce interrupt bit. ppce will be triggered by ppfri moving from the expected time, but ppce will not be triggered by a missing ppfri. if the ppfri input is held asserted, the parallel i/o will ?lock up? and operation will be disrupted (including cpu access to the tpcm). the ppfti framing in tm1 with pfdi=1 operates similarly, using pckt, but the ppce interrupt does not monitor ppfti. instead, the txpaa bit indicates that the ppfti input is out of phase with f0i. output driver enable control capability the MT90840 provides a bit (ode) in the ims register that places all data outputs of the device (parallel and serial) in a high impedance state. the ode bit (output drive enable) is automatically set low by the reset input pulse applied to the device during system power up. when low, the ode bit disables all tdm outputs of the MT90840 while connection memory initialization is performed by the cpu. this function is useful to avoid data collision when the MT90840 is sharing a transmit parallel bus with other devices. when ode is set high, individual parallel and serial port time slots are controlled by the oe bits in tpcm high and rpcm high. timing and switching control the MT90840 supports four major timing/switching modes: ? tm1/ring master: pdo timing slaved to sti/o timing, receive path has elastic buffer enabled; ? tm2/ring slave: sti/o timing slaved to pdi timing, fixed delay in receive path; ? tm3/bus slave: pdo and pdi tied together, sti/o timing slaved to parallel bus timing; ? tm4/parallel switching: 2430 (or 2048) channel switching from pdi to pdo. the tm1-0 bits in the tim register are used to select the timing modes. the pfdi and sfdi bits in the same register can be used to enable parallel-device sub-modes of tm1 and tm2 respectively. in all MT90840 timing modes, the throughput delay when performing time interchange functions of grouped channel data is constant, maintaining the frame integrity of the input and output data. timing mode 1 (tm1) - ring master asynchronous parallel port with st-bus clock master timing mode 1 is used where the main tdm clock reference resides on the serial port side of the system. (an example is a node which is the clock master on a ring network.) timing on the transmit parallel port is tightly tied to the serial port. the receive parallel port timing is elastic; there is an elastic buffer in the receive path and the bypass path. see figure 5a for a connection example. in tm1, the MT90840 receives the serial port frame pulse (f0i) and serial clock (c4/8r1 or c4/8r2). the MT90840 then generates the parallel port output frame pulse (ppfto) synchronized to f0i. the transmit parallel port is fixed in phase relative to the serial port. (a fixed offset of 3.8 m sec exists between f0i and ppfto due to serial-to-parallel conversion.) the transmit path does not provide an elastic buffer, and therefore the parallel port tx clock (pckt) must be tightly locked (in frequency) to the serial port c4/8 and f0i clocks. (jitter less than +/- 100nsec.) the receive parallel port timing may be of any phase relative to the serial and transmit-parallel ports in figure 5a - timing mode 1 configuration 8 8 8 khz rx data rx tx clock 8 khz tx data tx pckr ppfri pdi0-7 pckt ppfto pdo0-7 sti0-7 sto0-7 f0i c4/8r1 8 sti/o 0-7 8 sti/o 0-7 4.096 MT90840 rx clock cpu st-bus components or 8.192 mhz 8 khz 8 khz source pll
MT90840 data sheet 2-242 tm1. this allows for flexible round-trip data delays in star or ring type networks. an elastic buffer on the receive parallel port compensates for the difference in phase between ppfri/pckr and f0i/c4. the elastic buffer can also tolerate up to 50 m sec +/- 25 m sec) of clock drift and jitter before the buffer re-syncs and rx path data is corrupted. (data corruption is flagged by the fsa interrupt source.) the bypass path data (pdi to pdo) also passes through the elastic buffer in tm1. in tm1, the MT90840's spcko clock output is not used. tm1 multiple-MT90840 sub-mode (pfdi) for tm1 applications which require more serial channels than are provided by a single MT90840, it is possible to operate multiple MT90840 in parallel. to do this, one MT90840 must control the f0i-to-ppfto timing (normal tm1), and the remaining MT90840s must synchronize to the first by using ppfti as an input reference. the device providing the reference will have the pfdi bit in the tim register set low (normal tm1). all other MT90840s will have pfdi set high (forcing ppft to be an input). figure 5b shows this mode using two MT90840s; additional MT90840s (with pfdi set high) may be added. this sub-mode allows the serial ports of the multiple MT90840 to share one timing source, and the synchronized parallel output ports to be connected together on one bus. the tm1 multiple-MT90840 sub-mode is not available for operation at 6.48 mbyte/s. timing mode 2 (tm2) - ring slave asynchronous parallel port with st-bus clock slave timing mode 2 is used where the main tdm clock reference resides on the parallel port side of the system. (an example is a node on a ring which is slaved to the ring clock.) timing on the serial port is tightly tied (slaved) to the receive parallel port, and the transmit parallel port is clocked by the receive parallel port clock. in tm2, the pckt input is not used. see figure 6a for a connection example. in tm2, the MT90840 timing is controlled by the parallel port frame pulse (ppfri) and clock (pckr). the MT90840 generates the parallel port output frame pulse (ppfto) and the serial port output frame pulse (f0o) locked to ppfri. both the transmit parallel port and the serial port are fixed in phase relative to the receive parallel port, and therefore no elastic buffer is required. a fixed offset exists between ppfri and f0o due to parallel-to-serial conversion, and between f0o and ppfto due to serial-to-parallel conversion delay. total offset between ppfri and ppfro is about 12 m sec (and the bypass path data delay is therefore also about 12 m sec). figure 5b - tm1 multiple-MT90840 configuration 8 8 8 khz rx rx data tx clock 8 khz tx tx data pckr ppfri pdi0-7 pckt ppfto pdo0-7 sti0-7 sto0-7 f0i c4/8r1 8 sti/o 0-7 8 sti/o 0-7 4.096 MT90840 rx clock cpu st-bus components or 8.192 mhz 8 khz 8 8 khz tx data tx pckr ppfri pdi0-7 pckt ppfti pdo0-7 sti0-7 sto0-7 f0i c4/8r1 8 sti/o 0-7 8 sti/o 0-7 4.096 MT90840 or 8.192 mhz 8 khz pfdi = 0 pfdi = 1 8 khz source pll tx clock tx clock
data sheet MT90840 2-243 the transmit path does not provide an elastic buffer, and therefore the serial port clock must be tightly locked (in frequency) to the parallel port clock (pckr). (jitter less than +/- 100nsec.) this may be achieved in one of two ways: use of the internal clock divider (intclk set high), or use of an external pll or dpll, with c4 phase-correction performed by the MT90840. internal 4.096 mhz clock divider for tm2 applications at 19.44 or 16.384 mhz rates on the parallel port, and 4.096 mhz on the serial port, the internal clock divider can be enabled. the clock divider can generate the required serial port clock outputs from the parallel port clock inputs. when enabled in tm2, the clock divider will provide 4.096 mhz (spcko) and 8 khz (f0o) timing to the serial port that is rigidly locked to the pckr and ppfri clocks at the parallel port. the clock divider is enabled by setting the intclk bit high (in the tim register). the clock divider can not be used in applications where the parallel port operates at 6.480 mbyte/s rates. external pll and c4 phase-correction the MT90840 also supports the use of an external pll (e.g. mt9041/2) to generate 4.096 or 8.192 mhz from the parallel port timing reference. at 4.096 mhz the generated clock must be input to the MT90840 (at c4/8r1 or c4/8r2) for phase monitoring and correction. the phase-corrected 4.096 mhz clock is then output on the spcko pin. should the phase of the c4clock input (relative to the ppfri framing input) drift more than approximately +/- 100nsec, the MT90840 will apply an additional correction and indicate possible data corruption with the rxpaa interrupt source. at 8.192 mhz, the generated clock is input to the MT90840 (at c4/8r1 or c4/8r2), and is also supplied directly to the serial bus (the spcko output is not used at 8.192 mhz). the serial port frame pulse (f0o) will be slaved to the parallel port frame pulse (ppfri), and will be clocked out by spcko, or the 8.192 mhz clock, as appropriate. tm2 multiple-MT90840 sub-mode (sfdi) for tm2 applications which require more serial channels than are provided by a single MT90840, it is possible to operate multiple MT90840s in parallel. multiple-MT90840 operation is automatic if intclk is selected, but if an external pll is used, the serial port timing of the MT90840s must be synchronized. to do this, one MT90840 controls the ppfri-to-f0o timing and c4 phase-control (normal tm2), and the remaining MT90840s must synchronize to the first by using f0 as an input reference. the device providing the reference will have the sfdi bit in the tim register set low (normal tm2). all other MT90840s will have sfdi set high (forcing f0 to be an input). figure 6b shows this mode using two MT90840s; additional MT90840s (with sfdi set high) may be added. this sub-mode allows the serial ports of the multiple tm2 MT90840s to share one timing source. the transmit parallel port outputs are always synchronized to ppfri in tm2, so the multiple MT90840s can also be connected together on one parallel output bus. the t m2 multiple-MT90840 sub-mode is not available for operation at 6.48 mbyte/s. figure 6a - timing mode 2 configuration 8 8 8 khz tx data tx 8 khz rx data rx pckr ppft pdo0-7 pdi0-7 ppfri sti0-7 sto0-7 spcko f0o 8 sti/o 0-7 8 sti/o 0-7 8 khz 4.096 mhz MT90840 cpu tx/rx clock c4/8r1 & 2 pll 4.096 mhz or 8.192 mhz note: the use of an external pll is optional at 4.096 mhz (2.048 mbps and 4.096 mbps) st-bus components 8 khz source (8.192 mhz)
MT90840 data sheet 2-244 timing mode 3 (tm3) - bus slave synchronous parallel port with st-bus clock slave timing mode 3 is used where the main tdm clock ref- erence resides on the parallel port side of the system, and where the receive parallel port and the transmit parallel port are aligned. (an example is a node on a backplane.) timing on the serial port is tightly tied to the receive parallel port, and the transmit parallel port is clocked by the receive parallel port clock. in tm3, pckt and ppfto are not used. see figure 7 for a connection example. in tm3, the MT90840 timing is controlled by the parallel port frame pulse (ppfri) and clock (pckr). the MT90840 generates the serial port output frame pulse (f0o) locked to ppfri. tm3 is similar to tm2 with two main differences: the parallel bypass path is disabled, and the parallel port receive and transmit buses are synchronized and both aligned with ppfri. a fixed offset exists between f0o and ppfri due to serial-to-parallel conversion. the MT90840 will align f0o so that it proceeds ppfri by 3.8 m sec. in tm3 the internal clock divider circuit is always enabled, regardless of the state of the intclk bit (c4/8r1 and c4/8r2 are unused). therefore tm3 is limited to 19.44 and 16.384 mbyte/s parallel port rates, and 2.048 and 4.096 mbps serial port rates. figure 6b - tm2 multiple-MT90840 configuration 8 8 8 khz tx data tx 8 khz rx data rx pckr ppft pdo0-7 pdi0-7 ppfri sti0-7 sto0-7 spcko f0o 8 sti/o 0-7 8 sti/o 0-7 8 khz 4.096 mhz MT90840 cpu tx/rx clock c4/8r1 & 2 pll 4.096 mhz or 8.192 mhz st-bus components 8 khz source (8.192 mhz) 8 8 data tx data rx pckr ppft pdo0-7 pdi0-7 ppfri sti0-7 sto0-7 spcko f0i 8 sti/o 0-7 8 sti/o 0-7 4.096 mhz MT90840 cpu c4/8r1 & 2 sfdi = 1 sfdi = 0 figure 7 - timing mode 3 configuration 8 8 aligned rx/tx clock 8 khz ref pdi0-7 pdo0-7 ppfri pckr sti0-7 sto0-7 spcko f0o 8 sti/o 0-7 8 sti/o 0-7 4.096 mhz MT90840 cpu st-bus components frames 8 khz source 8 khz
data sheet MT90840 2-245 timing mode 4 (tm4) - parallel data switching timing mode 4 is used to provide switching of up to 2430 parallel input channels to the same number of parallel output channels. parallel tdm data is clocked in at pdi0-7 by pckr, framed by ppfri. switching is performed as programmed in the tx path connection memory, and data is output on pdo0-7, framed by ppfto and clocked by pckr. see figure 8 for connection details. in tm4, ppfto and pdo0-7 are offset (delayed) from ppfri and pdi0-7 by a fixed 4 clock cycles (3.5 clock cycles if the tcp bit is high). all the serial port data and timing signals, and pckt, are unused in tm4. the internal clock divider is used to generate an internal c4 clock to allow cpu reads from the rpdm. tm4 is only available for 19.44 and 16.384 mbyte/s rates. MT90840 throughput delay in many isochronous applications it is important to know and/or limit the delay of data. table 1 summarizes the data throughput delay values for all timing modes of the MT90840. it is worth noting that the worst-case ?round-trip? delays are not as large as the sum of the worst-case delays on the individual links. this is shown by the last 5 rows of table 1, which give the delays for some representative two MT90840 setups. MT90840 per-channel functions several functions of the MT90840 are programmable for each individual parallel channel or serial channel. per-channel functions on the parallel port side are programmed in the transmit path connection memory high (tpcm high), and per-channel functions on the serial port interface are programmed in the receive path connection memory high (rpcm high). on the parallel port these per-channel features are bypass, control outputs, output enable, and message mode. on the serial port the per-channel features are output enable, message mode and direction control. these functions are generally available in all of the data rates and timing/switching modes. per-channel bypass on the parallel port this feature, when enabled, causes the specific individual parallel output channel at pdo to transmit the data received at the same number input channel at pdi. this can be used to perform a bypass (on a ring) or a loopback (in a star). this feature is only provided in timing modes 1 and 2. in tm2 the data-delay from pdi to pdo is fixed (as is the delay between ppfri and ppft). in tm1 the data-delay is elastic (and dependent on the timing of ppfri and f0i). the per-channel bypass feature is controlled by the ppby bits of the tpcm high as explained in the register section. if the ppby bit is high at a specific tpcm address, the corresponding parallel output will transmit the data received in the corresponding input channel. when the ppby bit is low, the corresponding output channel can be used for message-mode data, or for switched-data from the serial port. a bypass input channel is still copied to the receive path data memory, and may also be switched to the serial port, or read by the cpu from the receive path data memory. the MT90840 per-channel output-enable and message-mode bits have higher priority than the ppby bit. per-channel control outputs on the parallel port the MT90840 provides four control outputs (cto0-cto3) which are synchronized to the parallel port output timing. each of the cto output pins is controlled by the ct0-3 bits of the tpcm high. (the cto0 pin and bit are programmed with the output enable data.) the contents of the cto bit in each figure 8 - timing mode 4 configuration 8 tx 8 khz ref pdo0-7 ppfto pdi0-7 pckr ppfri 8 8 khz rx cpu 19.44 or 16.384 mhz (rx) clock reference parallel data in MT90840 parallel data out 8 khz source
MT90840 data sheet 2-246 table 1 - MT90840 throughput delay summary naming rules: eld: elastic delay, measured from ppfri to f0i (4.4 to 129.4 m sec ). p/s: parallel-to-serial data path. pi: parallel input channel time, expressed in delay after ppfri (0 to 125 m sec ). po: parallel output channel time, expressed in delay after ppfti/o (0 to 125 m sec ). s/p: serial-to-parallel data path. si: serial input channel time, expressed in delay after f0i/o (0 to 125 m sec ). so: serial output channel time, expressed in delay after f0i/o (0 to 125 m sec ). transmission: the delay due to electronic circuits and physical media connecting the parallel ports of two MT90840s. (assumed to be negligible in tm3.) note 1: exact p/s or s/p delay depends on relative positions of ppfri and f0 +/- 120 nsec tolerance). note 2: actual tm1 p/s and p/p delay depends on elastic position of ppfri with respect to f0i (see eld definition). note 3: bypass delay in tm2: ppft and pdo ch.0 are co-incident with pdi ch.235 at 19.44 mhz, ch.199 at 16 mhz, and ch.80 at 6.48 mhz. (tcp = 1 delays pdo ch.0 an extra half clock-cycle in tm2). note 4: ?round-trip? delay from/to serial ports with the same f0 is always an integral number of frames (plus switching: so - si). mode data rates minimum delay total throughput delay tm1, tm2, or tm3 s/p all dmin = 7.7 m sec note 1 d = dmin + 1 frame + po - si = 13 2.7 m sec + po - si min. 7.7 m sec, avg. 133 m sec, max. 258 m sec tm1p/s all dmin = eldmin = 4.4 m sec note 2 d = 1 frame + eld + so - pi = 125 m sec + eld + so - pi min. 4.4 m sec, max. 379 m sec tm2 p/s all dmin = 4.3 m sec note 1 d = dmin + 1 frame + so - pi = 129.3 m sec + so - pi min. 4.3 m sec, avg. 129 m sec, max. 254 m sec tm3 p/s all dmin = 1 frame - 7.7 m sec = 117.3 m sec t = dmin + 1 frame + so - pi = 242.3 m sec + so - pi min. 117 m sec, avg. 242 m sec, max. 367 m sec tm1 p/p (bypass) all dmin = 12 m sec + 1 frame = 137 m sec note 2 d = 7.7 m sec + 1 frame + eld min.137 m sec, max. 262 m sec tm2 p/p (bypass) 19.44 mbyte/s 16.384 mbyte/s 6.480 mbyte/s note 3 d = {235 or 235.5} pckr cycles = 12 m sec d = {199 or 199.5} pckr cycles = 12 m sec d = {80 or 80.5} pckr cycles = 12 m sec tm4 p/p (switching) 19.44 & 16.384 mbyte/s dmin = {3.5 or 4} pckr cycles (tcp bit = 1 or 0) d = dmin + 1 frame + po - pi min. < 0.3 m sec, avg. 125 m sec, max. 250 m sec tm1 s/p + tm2 p/s all dmin = 12 m sec + 1 frame = 137 m sec d = 12 m s + 2 frames + transmission + so - si = 262 m sec + transmission + so - si tm2 s/p + tm1 p/s all dmin = 12 m sec + 1 frame = 137.4 m sec d = 12 m sec + 2 frames + transmission + eld + so - si = 262 m sec + transmission + eld + so - si tm1 s/p + tm2 p/s + tm2 s/p + tm1 p/s all dmin = 4 frames = 500 m sec d = (2 x 12) m sec + 4 frames + 2 x transmission + eld + so - si = {5 or more integral frames} + so - si (note 4) tm1 s/p + tm2 bypass + tm1 p/s all dmin = 2 frames = 250 m sec d = (3 x 12) m sec + 2 frames + 2 x transmission + eld + so - si = {3 or more integral frames} + so - si (note 4) tm3 s/p + tm3 p/s all dmin = 250 m sec d = (7.7 + 117.3) m sec + 2 frames + so - si = 375 m sec + so - si min. 250 m sec, avg. 375 m sec, max. 500 m sec (note 4)
data sheet MT90840 2-247 tpcm high location is output on the corresponding cto pin once every frame. see figure 9. the control outputs can be used to control other devices, such as buffers, to allow sharing of the parallel port data bus. per-channel tri-state (serial and parallel) the MT90840 provides per-channel tri-state of the output pins on both the serial and parallel port. the oe bit in each address of the tpcm and rpcm determines if data will be driven during a particular time slot, or if the pin will be placed in a high-impedance state during that time slot. the oe bit overrides all other per-channel control bits. per-channel message mode (serial and parallel) the MT90840 provides per-channel message mode capability on both the serial and parallel port. the mc bit in each address of the tpcm and rpcm determines if the connection memory low byte is to be used as an address, or as data to be output on the particular channel (message mode). when the mc bit is high, the connection memory low byte is used as message data. as well as driving message data on the serial (rpcm) and parallel (tpcm) ports, the MT90840 allows the cpu to read serial or parallel data channels from the tpdm or rpdm. applications for message mode include digital silence, proprietary signalling, and creating fixed 8 khz framing patterns. per-channel direction control on the serial port the MT90840 provides the ability to use any nominal output serial channel as an input or as an output. the direction of each output serial channel is controlled by the dc bit in the appropriate byte of the receive path connection memory high (rpcm high). when dc is high the matching channel is an output. the per-channel direction control feature of the MT90840 can be activated in one two modes: balanced, or add/drop operation. ? balanced operation (all serial data rates) this mode is enabled when the fdc bit in the ims register is low. in this mode, each of the dc bits controls two serial channels: the nominal output and the nominal input. if a channel on a nominal output serial stream (sto0-7) is re-defined as an input, the same-number channel on the matching input stream (sti0-7) will be defined as an output. for example, if channel 0 on sto7 is programmed as an input (dc=0), then channel 0 on sti7 is defined as an output. each dc-bit?s state controls the direction of a channel on the nominal output stream (dc is high for output), and inverse-sense controls a channel on the nominal input stream (dc is low for output). this is shown in figure 10. ? add/drop operation (2.048 mbps only) this mode is enabled when the fdc bit in the ims register is high. in add/drop mode all channels on figure 9 - parallel port control outputs, cto0-3 figure 10 - balanced per-channel serial direction control as determined by dc bit ppft pdo7-0 byte timing output frame boundary established by ppft channel 2428 channel 2429 channel 0 channel 1 cto0-3 tpcm high, ctn bit outputs address 2428 tpcm high, ctn bit address 1 tpcm high, ctn bit address 0 tpcm high, ctn bit address 2429 note : for applications at 16.384 and 6.48 mbyte/s, only 2048 and 810 positions are usable, in the tpcm. 0 1 2 3 30 29 31 . . . . . MT90840 dc=0 for sto 0 channel 1 sti0 dc=1 for sto 0 channel 29 sto0 0 1 2 3 30 29 31 . . . . . o/p o/p i/p i/p
MT90840 data sheet 2-248 all 16 serial streams can be individually controlled, so that up to 512 channels can be either transmitted or received. as an example, if all dc bit locations of rpcm high are set high, all 512 channels on sto0-7 and sti0-7 will be configured as outputs. if all dc bits are low, then all 512 channels will be configured as inputs. in add/drop mode all 512 serial channels are copied into the transmit path data memory, as inputs, regardless of the dc or oe bits. this has the effect of a ?copy-back? of all serial outputs. for more details on per-channel control functions for the serial and parallel data ports, see the tpcm high and rpcm high bits definition in the register description section. serial data memory addressing the serial port mode determines the number of channels per stream, the number of streams, and the direction-control operation. therefore the way in which serial data is addressed in the internal memory space must change with the serial port mode. because of this, it is necessary to select the serial port mode (with dr1-0 and fdc in the ims register) before programming the receive path connection memory. 2.048 mbps balanced mode the 2.048 mbps balanced mode has 8 serial input and 8 serial output streams, and 32 channels per stream. therefore 3 bits are used to address the 8 streams, and 5 bits are used to address the 32 channels. figure 11a shows how the transmit path data memory is read in this mode, by the cpu, or by the transmit path connection memory. each of the 256 input channels is mapped to an address in the tpdm. cpu reads require the lsb (least significant bit) of the car register, and the 7 lsbs of the address bus. the source-channel address-value written in the tpcm requires 8 bits. figure 11b shows how the receive path connection memory is addressed by the cpu. each of the 256 output channels has a control-address in the rpcm. cpu accesses require the lsb of the car register, and the 7 lsbs of the address bus. when the dc bit for a specific output channel is low, that channel is output on the sti pin rather than the sto pin, and the data at the sto pin is input to the tpdm. when the dc bit is high, the output channel appears at the normal sto pin. figure 11a - 2.048 mbps balanced mode tpdm addressing figure 11b - 2.048 mbps balanced mode rpcm addressing 2.048 mbps add/drop mode the 2.048 mbps add/drop mode has 16 serial input/ output streams, and 32 channels per stream. therefore 4 bits are used to address the 16 streams, and 5 bits are used to address the 32 channels. figure 12a shows how the transmit path data memory is read in this mode. each of the 512 possible input channels is mapped to an address in the tpdm. cpu reads require the 2 lsbs of the car register, and the 7 lsbs of the address bus. the source-channel address-value written in the tpcm requires 9 bits. in this mode the tpdm reads all 512 serial channels as inputs. when a specific channel is driven by the MT90840 as an output, the output data is also copied back into the tpdm. figure 12b shows how the receive path connection memory is addressed by the cpu in 2.048 mbps add/drop mode. each of the 512 possible output channels has a control-address in the rpcm. cpu accesses require the 2 lsbs of the car register, and the 7 lsbs of the address bus. when the dc bit or the oe bit at a specific control-address is low, no data is driven out for that channel, and the input data at the pin is written to the tpdm. . . sti0, ch0 sti0, ch1 000h 001h cpu port addressing: tpcm contents: 7 6 5 4 3 2 1 0 0 6 5 4 3 2 1 0 stream stream channel channel address bus car bits 7:5 select one of 8 streams. bits 4:0 select one of 32 channels per stream. sti7, ch30 sti7, ch3 1 0feh 0ffh note: only 256 memory locations. serial input channel tpdm address . . sto0, ch0 sto0, ch1 000h 001h sto7, ch30 sto7, ch31 0feh 0ffh note: only 256 memory locations. rpcm address serial output channel cpu port addressing: 0 6 5 4 3 2 1 0 stream channel address bus car
data sheet MT90840 2-249 figure 12a - 2.048 mbps add/drop mode tpdm addressing figure 12b - 2.048 mbps add/drop mode rpcm addressing 4.096 mbps mode the 4.096 mbps mode has 8 input and 8 output streams, and 64 channels per stream. therefore 3 bits are used to address the 8 streams, and 6 bits are used to address the 64 channels. figure 13a shows how the transmit path data memory is read in this mode. each of the 512 input channels is mapped to an address in the tpdm. cpu reads require the 2 lsbs of the car register, and the 7 lsbs of the address bus. the source-channel address-value written in the tpcm requires 9 bits. figure 13b shows how the receive path connection memory is addressed by the cpu in 4.096 mbps mode. each of the 512 output channels has a control-address in the rpcm. cpu accesses require the 2 lsbs of the car register, and the 7 lsbs of the address bus. per-channel direction control in this mode is the same as the 2.048 mbps balanced mode. figure 13a - 4.096 mbps tpdm addressing figure 13b - 4.096 mbps rpcm addressing 8.192 mbps mode the 8.192 mbps mode has 4 input and 4 output streams, and 128 channels per stream. therefore 2 bits are used to address the 4 streams, and 7 bits are used to address the 128 channels. figure 14a shows how the transmit path data memory is read in this mode. each of the 512 input channels is mapped to an address in the tpdm. cpu reads require the 2 lsbs of the car register, and the 7 lsbs of the address bus. the source-channel address-value written in the tpcm requires 9 bits. figure 14b shows how the receive path connection memory is addressed by the cpu in 8.192 mbps mode. each of the 512 output channels has a control-address in the rpcm. cpu accesses require the 2 lsbs of the car register, and the 7 lsbs of the address bus. per-channel direction control in this mode is the same as the 2.048 mbps balanced mode. . . sti0, ch0 sti0, ch1 sti7, ch30 sti7, ch31 sto0 (sti8), ch0 000h 001h 0feh 0ffh 100h 101h 1feh 1ffh . . cpu port addressing: tpcm contents: 8 7 6 5 4 3 2 1 0 1 0 6 5 4 3 2 1 0 stream stream channel channel address bus car bits 8:5 select one of 16 streams. bits 4:0 select one of 32 channels per stream. tpdm address sto0 (sti8), ch1 sto7 (sti15), ch30 sto7 (sti15), ch31 serial i/o channel . . sto0, ch0 sto0, ch1 sto7, ch30 sti7, ch31 sti0 (sto8), ch0 000h 001h 0feh 0ffh 100h 101h 1feh 1ffh . . rpcm address sti0 (sto8), ch1 sti7 (sto15), ch30 sti7 (sto15), ch31 serial output channel cpu port addressing: 1 0 6 5 4 3 2 1 0 stream channel address bus car . . sti0, ch0 sti0, ch1 000h 001h cpu port addressing: tpcm contents: 8 7 6 4 3 2 1 0 1 0 6 4 3 2 1 0 stream stream channel channel address bus car bits 8:6 select one of 8 streams. bits 5:0 select one of 64 channels per stream. sti7, ch62 sti7, ch63 1feh 1ffh 5 5 serial input channel tpdm address . . sto0, ch0 sto0, ch1 000h 001h sto7, ch62 sto7, ch63 1feh 1ffh rpcm address serial output channel cpu port addressing: 1 0 6 4 3 2 1 0 stream channel address bus car 5
MT90840 data sheet 2-250 figure 14a - 8.192 mbps tpdm addressing figure 14b - 8.196 mbps rpcm addressing microprocessor port an 8-bit multiplexed parallel microprocessor port is provided on the MT90840 to allow an attached cpu to configure and read internal registers and memories. the MT90840 cpu interface is compatible with motorola, national and intel multiplexed bus cpus and adapts itself to the appropriate bus-type control signal timing without any mode selection. the MT90840 cpu interface signals are ad0-7 (data and address), ale/as, ds/ rd , r/ w\wr , cs and dta . the parallel microprocessor interface provides the cpu with access to the internal configuration registers, and the connection and data memories for both the transmit and receive paths. connection memories are read/write, data memories are read only, and the control register senses are shown in table 2. accesses from the microport to the connection and data memories are multiplexed with accesses from the input and output tdm ports. this can cause variable data acknowledge delays which are communicated to the cpu by the dta output signal. note that if the parallel port clocks pckr & pckt or serial port clocks c4/8r1 & c4/8r2 are not present during an internal memory access, the dta output signal may be held high until the clocks are applied again. for complete details on the microprocessor interface timing signals, refer to the ac electrical characteristics section. address mapping of the internal registers the MT90840 provides internal registers which are used by the cpu to configure the device in the various operation modes. the ims, tim, gpm and als registers should be initialized by the cpu on every system power-up before any internal memory access is performed. in the MT90840, the ad7 address pin must be kept low when addressing the internal registers, as depicted in table 2. when input address pin ad7 is high, input address pins ad0-ad6 are used together with bits ha7-ha11 in the control register to form a 12-bit address to access the MT90840 internal memory selected by the sel2-sel0 bits. see internal memory description for memory address mapping. irq interrupt pin the MT90840 provides the output pin irq (interrupt request) which is active high and indicates the occurrence of one or more error conditions in the MT90840 timing operations. the occurrences are indicated by bits ppce, rxpaa, txpaa and fsa in the als register. except for cases where the indications are masked by the msk3-0 bits in the als register, the occurrence of any indication causes an irq interrupt to be generated to the cpu. when an interrupt is masked by msk3-0 bits, the irq output will not be activated. however, the interrupt indication will still be provided in the als bits. to cause the irq output signal or the indication bits to return to low again, the cpu can write any value to the als register (normally the mask bits are re-written to clear the irq pin). dta data transfer acknowledgment pin the dta pin is driven low by internal logic, to indicate to the cpu that a data bus transfer is complete. when the bus cycle ends, this pin drives high and then switches to high-impedance. if a . . sti0, ch0 sti0, ch1 000h 001h tpcm contents: 8 7 6 4 3 2 1 0 stream channel bits 8:7 select one of 8 streams. bits 6:0 select one of 128 channels per stream. sti3, ch126 sti4, ch127 1feh 1ffh 5 serial input channel tpdm address cpu port addressing: 1 0 6 4 3 2 1 0 stream channel address bus car 5 . . sto0, ch0 sto0, ch1 000h 001h cpu port addressing: 1 0 6 4 3 2 1 0 stream channel address bus car sto3, ch126 sto4, ch127 1feh 1ffh 5 rpcm address serial output channel
data sheet MT90840 2-251 short, or a signal contention, prevents the dta pin from reaching a valid logic high, it will continue to drive for approximately 15 nsec before switching to high-impedance. accessing internal memories the data and connection memories of the MT90840 are connected to the various tdm data ports, and synchronized to the tdm clocks (pckr, pckt, and c4/8r1 or c4/8r2). therefore all cpu accesses to the data and connection memories are synchronized to, and dependent upon, the tdm clocks. the tdm clocks supplied to the MT90840 must meet the requirements given in the ac electrical characteristics section for reliable operation of both the data switch and the cpu port. faulty clocks can result in data corruption at the tdm ports, or on cpu accesses. if there is no pckr clock (pckt in tm1), the cpu cannot access the transmit path connection memory. if there is no c4/8 clock, the cpu cannot access the transmit path data memory, receive path data memory, or receive path connection memory. if the ppfri or f0 frame pulse is absent, but the other clocks are present, the MT90840 will free-run and allow normal cpu access. (in tm2 with the intclk bit asserted, or in tm3 or tm4, all clocks and all cpu memory accesses are tied to the pckr clock.) cpu memory read operation to perform a read, the control register must first be written to specify the memory and page to be read. then the cpu can read the specified memory and page by latching an address into the MT90840, with address pin ad7 high to indicate a memory access. when chip-select and read signals are asserted, data is transferred to the cpu port on the next free tdm clock edge, and then the dta pin is asserted to indicate that the cpu port data pins hold valid read- data. numerous reads within the same memory page can be performed without having to re-write the control register. cpu reads of the data and connection memories must be multiplexed with the tdm port accesses, resulting in the varying dta response times given in the ac electrical characteristics section. cpu memory write operation (write pipeline) cpu write access to the connection memories (tpcm and rpcm) must also be multiplexed with the tdm port accesses. to allow faster cpu write operations, the MT90840 has a transparent single-byte write pipeline. cpu write accesses are performed in the same manner as reads, with the control register programmed to specify the memory and page. the dta pin is asserted by the MT90840 to indicate that the cpu data has been latched into the device. an isolated write operation will receive a register-speed dta , as the data is latched into the transparent write pipeline to await the next free tdm clock edge. a second write will not receive a dta acknowledgment until the first write has exited the internal write pipeline. the dta response time on the second write is a function of the memory chosen for the write currently in the pipeline, and is given in the ac electrical characteristics section. dta operation and tdm clocks if the cpu tries to read a memory for which the necessary tdm clock is not present, the dta pin will not be asserted. if the cpu tries to write a memory for which the necessary tdm clock is not present, table 2 - MT90840 register address mapping a7 a3 a2 a1 a0 # type location reset value (hex) 0 0 0 0 0 0 r/w ims register 60 0 0 0 0 1 1 r/w control register 00 0 0 0 1 0 2 r/w tim register 00 0 0 0 1 1 3 r/w gpm register 00 0 0 1 0 0 4 r/w als register 0x 0 0 1 0 1 5 r/w test (leave 00hx) 00 0 0 1 1 0 6 - reserved 0 0 1 1 1 7 - reserved 0 1 0 0 0 8 ro phase status (low byte) xx 0 1 0 0 1 9 ro phase status (high 3 bits) 0x 0 1 0 1 0 10 - reserved
MT90840 data sheet 2-252 the dta pin will be asserted (as the data is stored in the write-pipeline) but the next cpu access will not see dta asserted. no clocks are necessary for register accesses (but if the write-pipeline is hung, the registers cannot be accessed). if the MT90840 is hung due to a cpu read of a memory with a missing clock, the hang can be cleared by ending the read access. if the MT90840 is hung due to a cpu write to a memory with a missing clock, the hang can be cleared by applying a hardware reset to the MT90840. detecting clock presence after it is set, the bpe bit is cleared within 2 frames of the c4/8 clock (i.e. within 250 m sec). if this bit is cleared by the MT90840, the cpu can deduce that the c4/8 clock is present. in tm3, in tm4, and in tm2 with intclk asserted, c4/8 is internally generated from pckr, and if the bpe bit is cleared by the MT90840, the cpu can deduce that the pckr clock is present. clock quality and tm1 tpcm access integrity in timing mode 1 the parallel transmit frame pulse ppfto must be held in phase with the serial bus frame pulse input (f0i). this is performed automatically by the MT90840 with an internal correction event, which moves the ppfto output. in normal tm1 operation the correction happens once on initialization, and does not happen again as long as the c4/8 and pckt clocks stay phase-locked. if the clocks lose their phase lock, the MT90840 will assert an automatic correction, and set the txpaa interrupt bit high. the transmit parallel port data, the cto control data and the tx frame pulse (ppfto) will all jump phase due to this correction, causing one errored tdm frame. if a cpu write to the transmit path connection memory is occurring during the one pckt clock cycle that clocks the correction, there is a chance that the write data will go to address 0, rather than the intended address. to avoid this it is necessary to keep clocks stable during tpcm programming in tm1 (including not using din while programming). if there is some doubt about the quality of the clocks in a particular application, options include: -1- program the tpcm in tm2, or tm2 with internal clocks (intclk=1), where this clock correction does not occur. -2- monitor the txpaa interrupt bit during tpcm programming, and check the intended address, and address 0, if a txpaa alarm occurs. -4- read/verify address 0 after a block of tpcm writes. if address 0 is corrupted, one of the writes occurred during a clock correction. clock quality and tm2 rpcm access integrity in timing mode 2 the serial frame pulse f0o must be held in phase with the parallel port rx frame pulse (ppfri). this is performed automatically by the MT90840 with an internal correction event, which inverts the phase of the spcko output. in normal operation the correction happens once on initialization, and does not happen again as long as the c4/8 and pckr clocks stay phase-locked. if the clocks lose their phase lock, the MT90840 will assert an automatic correction, and set the rxpaa interrupt bit high. the serial port data and the st bus frame pulse (f0o) will jump phase due to this correction, causing one errored tdm frame. the ppce bit indicates a change in framing at the receive parallel port which may cause a ?cascade? correction at spcko. if a cpu write to the receive path connection memory is occurring during the one 4.096 mhz clock cycle that clocks the correction, there is a chance that the write data will go to stream0-channel0, or stream1-channel0, rather than the intended address. to avoid this it is necessary to keep clocks stable during rpcm programming in tm2 (including not using din while programming). if there is some doubt about the quality of the clocks in a particular application, options include: -1- program rpcm in tm1, where this correction does not occur. -2- program rpcm in tm2 with internal clock mode, (intclk=1) where this correction does not occur. -3- monitor the rxpaa interrupt bit during rpcm programming, and check the st0-ch0 and st1-ch0 addresses if an alarm occurs. -4- read/verify st0-ch0 and st1-ch0 after a block of rpcm writes. if either is corrupted, one of the writes occurred during a clock correction. memory block-programming the MT90840 allows the user to program one value into the entire transmit path connect memory high, or receive path connect memory high, with a single register write. this feature allows the four most significant bits of each byte in the tpcm high, or rpcm high, to be automatically programmed with the value of the 4 pbd bits of the gpm register. this eases system initialization by allowing all channels to be placed in high-impedance, or all channels to be placed in bypass. the procedure works as follows: a) the sel2-0 bits in the control register are used to select block-programming for either the tpcm high, or the rpcm high blocks. it is also necessary to select the serial port mode (with
data sheet MT90840 2-253 dr1-0 and fdc in the ims register) before programming the rpcm. b) the gpm register is written. the cpu sets the block-programming enable (bpe) bit to high and the block-programming data (bpd7-4) bits to the desired value. this action causes the contents of the bpd7-4 bits to be loaded into the four most significant bits of all addresses in tpcm high, or rpcm high (as set by the control register). c) the user waits 250 m sec (two frames) to allow the tpcm high (2430 positions) or rpcm high (512 positions) to be entirely loaded with the new pattern. d) after 250 m sec, the user should check that the bpe bit is low, indicating that the block program completed successfully. if the bpe bit does not return to low, the necessary tdm clock input may not be available. the bpe bit can be written low to force an end to the block programming. procedures a, b, c, and d must be performed twice if both tpcm and rpcm have to be initialized. block-programming requires stable f0 and ppfri framing to function properly. if the framing jumps during block-programming, a section of memory may be missed. rpcm block-programming is dependent on the c4/8 serial port clock and f0 framing. tpcm block programming is dependent on the pckt clock, and f0 framing (pckr, ppfri and f0 in tm2). din should not be active during block programming. if there is some doubt about the quality of the clocks in a particular application, block-programming options include: -1- if a stable c4/8 serial port clock is not available, or if a stable f0i frame is not available, use tm2 with internal clocks (intclk=1) to perform block-programming of rpcm. -2- if stable ppfri framing is not available in tm2, disable the external gate driving ppfri and use free-running framing to perform block-programming of tpcm (and/or internal clocks mode to block-program rpcm). the interrupt source bits can also be monitored during block-programming. if ppce, or rxpaa (in tm2), or txpaa (in tm1), is asserted during block-programming, a framing error has occurred and the block-programming should be repeated. timing mode initialization on system power-up, the cpu should program the MT90840 ims, gpm, and tim registers to establish the data rates, the timing mode (1,2,3,4), and the framing polarity of the device. the MT90840 will then adjust its internal rate conversion and time interchange circuits to accommodate the different rates set at both data ports. to perform the rate conversions between the serial and the parallel ports, the MT90840 provides a phase alignment circuit, monitored by the rxpaa and txpaa interrupt bits. in tm1 and in tm2 with external clocks (intclk=0) the phase alignment circuit works automatically to maintain the relative phase of the serial and parallel ports. the din bit in the gpm register works with this circuit by reducing the window, forcing the phase alignment circuit to center the relative phases. after the parallel and serial port reference clocks (pckt/pckr and c4/8r1/c4/8r2) are stable, the din bit in the gpm register can be set high. the din bit will auto-reset itself after 8 frames, returning to low. (it can also be written low by the cpu.) the din bit procedure is especially useful in tm2. in tm1 the din bit also centers the phase relation, but the movement of the transmit parallel port timing during the 8 frames that din is asserted may cause data or framing errors in connected devices. the rpcm and tpcm should not be written to by the cpu while din is asserted. jtag support figure 15 - a typical boundary-scan ic the MT90840 boundary-scan circuitry functions in accordance with ieee std 1149.1a (often referred to as jtag boundary-scan). the standard specifies a design-for-testability technique called boundary-scan test (bst). a boundary-scan ic has a shift-register stage or ?boundary-scan cell? (bsc) in between the core logic and the i/o buffers adjacent to each i/o pin. the boundary-scan cellscan control and observe what happens at each core logic t a p c o n t r o l l e r test data in (tdi) test data out (tdo) test clock (tck) test mode boundary -scan cell(bsc) bsc bsc bsc bsc bsc bsc bsc bsc select (tms)
MT90840 data sheet 2-254 i/o pin of the ic. the operation of the boundary-scan circuitry is controlled by a test access port (tap) controller. test access port (tap) the test access port (tap) has five signals and provides access to the test logic defined by the jtag standard. the tap has the following connections: ? test clock input (tck) tck provides the clock for the test logic. tck is independent of the MT90840 functional clocks; this permits serial shifting of test data along the boundary-scan chain concurrent with the normal operation of the MT90840. ? test mode select input (tms) the signal at tms selects the operational mode of the tap controller. the tms signals are sampled on the rising edge of tck. this pin is pulled high internally when not driven. ? the test data input (tdi) serial instructions and test-data are shifted in at this pin. serial information is passed to the instruction register, the boundary scan (test) register, or the bypass register, depending on the present mode of the tap controller. tdi is sampled on the rising edge of tck. this pin is pulled high internally when not driven. ? the test data output (tdo) serial data is shifted out on this pin. depending on the present mode of the tap controller, data will come from one of: the instruction register, the boundary scan register or the bypass register. tdo is clocked out on the falling edge of tck. when no data is being shifted, the tdo driver is set to a high-impedance state. ? trst : (test reset input) asynchronously initializes the tap controller by putting it in the test-logic-reset state. this pin is pulled high internally when not driven. one additional pin influences the boundary scan test operation: ? ic: (manufacturing test pin) this pin is an ieee 1149 compliance-enable pin, and must be connected to vss for proper boundary scan operation (and normal chip operation). boundary-scan instruction register in accordance with the ieee 1149.1 standard, the MT90840 uses public instructions listed in table 3 - ?instruction register?. the MT90840 jtag interface contains a two bit instruction register. instructions are serially loaded into the instruction register from the tdi pin when the tap controller is in its shift-ir state. subsequently, the instructions are decoded to achieve two basic functions: to select the test data register that may operate while the instruction is current and to define the serial test data register path that is used to shift data between tdi and tdo during data register scanning. i[0:1] instruction description [00] extest boundary-scan register selected, test enabled this instruction is specifically provided to allow board-level interconnect testing of opens, bridging errors etc. when the extest instruction is executed, the MT90840 core logic is isolated from the i/o pins, and the state of the i/o pins is determined by the boundary-scan register. i/o data for this instruction is pre-loaded into the boundary-scan register with the sample/preload instruction. [01] [10] sample/ preload boundary-scan register selected, test disabled two functions can be performed by the use of this instruction. it allows a sample (?snapshot?) of the normal operation of the MT90840 to be taken for examination. and, prior to the selection of another test operation, a preload can place data values into the latched parallel outputs of the boundary-scan cells. during the execution of the instruction, the on-chip logic operation is not hampered in any way. [11] bypass bypass register selected, test disabled this instruction is used to bypass the MT90840 while performing boundary-scan testing on other devices with scan registers in the same serial register chain. the MT90840 is allowed to function normally. this instruction is automatically loaded upon trst , as specified in ieee1149.1 table 3 - boundary-scan instruction register
data sheet MT90840 2-255 test data registers as specified in the ieee 1149.1 standard, the MT90840 jtag interface contains two test data registers: ? the boundary scan register consists of a series of boundary-scan cells arranged to form a scan path around the boundary of the core logic of the MT90840. ? the bypass register is a single stage shift-register that provides a one-bit path that minimizes the distance for test data shifting from the MT90840?s tdi to its tdo. the MT90840 boundary-scan register contains 107 bits. the suffix (?in?, ?out?, or ?en?) indicates the nature and direction of the bsc. bit 1 in table 4 is the first bit clocked out. all tristate enable bits are asserted high (i.e. a logic 1 enables the corresponding group of output/bidirectional pins). note that clocking all zeros into the scan path register will set all outputs to tristate (outputs disabled). please visit our web site at www.semicon.zarlink.com to download a bsdl file for the MT90840. cells definition note 1 ppfri_in first bit out 2 pckt_in 3 pckr_in 4:11 pdi<0:7>_in 12:14 ppft_en, ppft_out, ppft_in 15:22 pdo<0:7>_out 23 pdo_en enables pdo<0:7 >outputs 24:27 cto<0:3>_out always enabled 28 c48r2_in 29:31 f0_en, f0_out, f0_in 32 c48r1_in 33:35 sti<7>_en, sti<7>_out, sti<7>_in 36:53 sti<6>, sti<5>, ... sti<1> 54:56 sti<0>_en, sti<0>_out, sti<0>_in 57 res_in table 4 - boundary-scan register cells definitions note 58 irq_en tied high internally 59 irq_out 60 dta _out ?pseudo? open-dra in 61 cs _in 62 asale_in 63 dsrdb_in pin: ds/ rd 64 wrb_in pin: r/ w \ wr 65:66 ad<7>_out, ad<7>_in 67:78 ad<6>, ad<5>, ... ad<1> 79:80 ad<0>_out, ad<0>_in 81 ad_en enables ad<0:7> outputs 82:84 sto<0>_en, sto<0>_out, sto<0>_in 85:102 sto<1>, sto<2>, ... sto<6> 103:105 sto<7>_en, sto<7>_out, sto<7>_in 106:107 spcko_en, spcko_out table 4 - boundary scan register
MT90840 data sheet 2-256 register description interface mode selection register (ims) - read/write 7 6 5 4 3 2 1 0 dr1 dr0 pps1 pps0 ode 0 0 fdc dr1-0 serial port data rate selection. select one of three different data rates at the serial inputs and outputs of the MT90840. dr1 dr0 data rate 0 0 2.048 mbps 0 1 4.096 mbps 1 0 8.192 mbps 1 1 reserved pps1-0 parallel port data rate selection. select one of three different data rates for the parallel port of the MT90840. pps1 pps0 data rate 0 0 reserved. do not use. 0 1 6.480 mbyte/s. 1 0 19.44 mbyte/s. 1 1 16.384 mbyte/s. ode output drive enable. when low, forces the MT90840 output-buffers on the serial and parallel data ports into the high impedance state (sto0-sto7, sti0-sti7, and pdo0-7). if this output is high, all channels have their output drive enable controlled by the per-channel oe bits of transmit connection memory high, or receive connection memory high. fdc full direction control. this bit should only be set high at the 2.048 mbps serial rate. when fdc is set high, each time slot on each of the 16 st-bus pins can be individually configured as input or output. up to 512 serial channels can be ?inserted? onto the transmit parallel port, or up to 512 parallel channels can be ?dropped? to the serial port. individual channel direction is controlled by the dc bits in the rpcm high. when fdc is low, the number of input and output time slots are ?balanced?, and setting a nominal input to be an output causes the same-number output time slot on the same-number sto pin to become an input. for applications at 4.096 and 8.192 mbps, this bit should be low. note : bits 1 & 2 must be set to 0 by the cpu. tm1-0 timing mode control bits. define the four different timing modes described in the timing and switching control section. 0 0 timing mode 1 0 1 timing mode 2 1 0 timing mode 3 1 1 timing mode 4 c4/8r c4/8r input reference select. if set high, this bit enables the 4.096 or 8.192 mhz serial port reference clock to be taken from input pin c4/8r1. if low, the reference is taken from input pin c4/8r2 (default). tcp parallel port transmit clock polarity. to allow the MT90840 parallel port transmit clock to comply with different 155 mbps framer backplanes, tcp controls which edge of the clock is used to transmit data at the parallel port. (the clock is pckt in tm1 or pckr in tm2, 3, & 4). the tcp bit allows the rising (tcp=low) or the falling (tcp=high) edges of the transmit clock to be selected. intclk internal 4.096 mhz clock divider. for use in tm2, in 19.44 or 16.384 mhz parallel-port applications. this bit controls the operation of the internal clock divider driven by pckr. when intclk is set high the internal 4.096 mhz clock (and the spcko output) are generated by dividing down the pckr clock. when intclk is set low, the c4/8r bit controls the source for the serial clock reference. in tm3 and tm4 the MT90840 automatically sets itself in the internal divider mode and the state of intclk has no effect. in tm1 this bit is must be set low. sfdi serial frame pulse direction control. normally low, unless it is necessary to operate multiple parallel MT90840 devices in timing mode 2. when set high, the f0 line becomes an input and this MT90840 is synchronized to the timing of another MT90840 generating the f0o, and using the same 4.096 or 8.192 mhz reference input. one MT90840 in tm2 with sfdi low can control several mt80940s with sfdi high. when sfdi is set high, intclk is ignored, and spfp in the gpm register must be set to the expected f0i polarity. pfdi parallel frame pulse direction control. normally low, unless it is necessary to operate multiple parallel MT90840 devices in timing mode 1. when set high, the ppft pin becomes an input and this MT90840 is synchronized to the timing of another MT90840 generating the ppfto. one MT90840 in tm1 with pfdi low can control several mt80940s with pfdi high. when pfdi is high, ppfp in the gpm register must be set to the expected ppfti polarity. note : bit 7 must be set to 0 by the cpu. timing mode register (tim) - read/write 7 6 5 4 3 2 1 0 tm1 tm0 c4/8r tcp intclk sfdi pfdi 0
data sheet MT90840 2-257 general purpose mode register (gpm) - read/write 7 6 5 4 3 2 1 0 bpd6 bpd5 bpd4 ppfp spfp bpd7 din bpe bpd7-4 block-programming data bits 7-4. these bits carry the value to be loaded into the tpcm-high or rpcm-high memory when the memory block-programming feature is activated. when bpe is set high, the contents of bits bpd7-4 are loaded into the four most significant bits of tpcm-high or rpcm-high, and the four least significant bits of tpcm-high or rpcm-high are zeroed. ppfp parallel port frame pulse polarity. used to program the polarity of the ppft frame pulse. if ppfp is set high, the frame boundaries at the parallel port output will occur when ppft pulse signal is high. if ppfp is set low, the ppft output will indicate frame boundaries with a low active pulse. the transmit edge for the generation of ppft, as well as pdo and cto, is determined by tcp in the tim register. din device initialization. this bit is used in tm1 and tm2 to center the phase relation between the parallel port clocks and the serial port clock. it can be set high by the cpu after the serial and parallel port rates are written in the ims register, and the input clocks are stable. if the MT90840 internal divider is used (intclk bit = high), or if tm4 or tm3 is selected, this bit is not used. this bit is automatically returned low after 8 frames, and clears all interrupt source bits in the als register as long as it is high. the connect memories should not be programmed while din is asserted. spfp serial port framing polarity. in tm2 and tm3 this bit defines the format of the serial port frame pulse f0o, and the clock spcko. if spfp is high, f0o is set as a positive pulse with gci timing. if spfp is low, f0o is set as a negative pulse with st-bus timing. in tm2 with sfdi set high, this bit specifies the expected f0i input polarity. in tm1, the f0i input polarity is automatically detected, and this bit is ignored. see the interface timing specifications. bpe block-programming enable. this bit activates the memory block-programming feature. it can be set high after the sel0-2 bits in the control register are set to select the memory to be programmed. the bpe and bpd7-4 bits in this register must be defined in the same write operation. once bpe is set high, the user should wait at least 250 m s and then check bpe = low to see that the operation completed successfully. this bit can also be written low to force the end of the block-program operation. note : the cpu must maintain the required settings of the ppfp and spfp bits when bpe is written. the din function and the bpe function should not be used simultaneously. msk3-0 mask alarm bits 3-0. these bits mask the specific interrupt source bits. msk3 masks ppce, msk2 masks rxpaa, etc. if mskn is set high, the corresponding interrupt source is enabled, and the irq pin will respond to that interrupt source; if set low, the corresponding interrupt source is masked. when masked, an interrupt source will not assert the irq pin, but will still set the als register bit. on system power-up, all interrupts are masked. writes to the als register clear the low nibble (interrupt source bits) regardless of the data written. ppce parallel port frame counter error. used in all timing modes. the ppce bit goes high whenever there is an incorrect number of pckr clock cycles between ppfri frame sync signals on the receive parallel port. the numbers of clock cycles expected depends on the parallel port rate selected in the ims register (2430, 2048, or 810 clock cycles). the absence of ppfri for one or more frames will not cause an interrupt (allowing free-run operation), but the ppce bit will go high if ppfri occurs anywhere but on an expected frame boundary. rxpaa rx phase alignment alarm. used in tm2 operation, when intclk = 0. the rxpaa bit goes high whenever the c4/8 input reference goes out of phase relative to the parallel port clock (pckr). a rising edge on the rxpaa bit indicates that the MT90840 has adjusted the position of f0o and spcko, and a data slip at the serial port has occurred. note that a cpu write to the rpcm memory as rxpaa goes high (in tm2) may be corrupted. in tm2 with sfdi = 1, a rising edge on t he rxpaa bit indicates that the f0i input is out of phase with ppfri, implying a failure in the timing supplied by the controlling (tm2 with sfdi = 0) MT90840. when not in tm2 the rxpaa bit may be continuously asserted, and therefore should be masked by setting msk2 low, and ignored. txpaa tx phase alignment alarm. used in tm1 operation. the txpaa bit goes high whenever the pckt clock input goes out of phase relative to the c4/8 clock. a rising edge on the txpaa bit indicates that the MT90840 has adjusted the position of ppfto, and a data slip at the tx parallel port output has occurred. note that a cpu write to the tpcm memory as txpaa goes high (in tm1) may be corrupted. in tm1 with pfdi = 1, a rising edge on the txpaa bit indicates that the ppfti input is out of phase with f0i, implying a failure in the timing supplied by the controlling (tm1 with pfdi=0) MT90840. fsa frame slip on elastic buffer. used in tm1 operation. the fsa bit goes high when either an overflow or underun condition on the receive parallel port?s elastic buffer has been detected. a rising edge on the fsa bit indicates that a frame of data from the rx parallel port has been dropped, or repeated. in tm2, tm3, and tm4 the user should mask this bit by setting msk0 low. note : the interrupt source bits are latched, and remain high until cleared by the cpu. the interrupt source bits (als low nibble) are cleared by writing the mask bits (als high nibble), regardless of the data written. alarm status register (als) - read/write 7 6 5 4 3 2 1 0 msk2 msk1 msk0 ppce txpaa msk3 rxpaa fsa
MT90840 data sheet 2-258 this register selects which 128 byte page of which internal memory will be accessed by the cpu when the address bit ad<7> is high. (when address bit ad<7> is low, the control registers are accessed.) sel2-0 memory select bits. used by the cpu to select the internal memories of the MT90840 for read or write operations. sel2-0 bits have to be written before any read/write operation is performed on the internal memories. sel2 sel1 sel0 memory selected for rd/ wr operation 0 0 0 receive path connection memory low (rpcm low) 0 0 1 receive path connection memory high (rpcm high) 0 1 0 receive path data memory (rpdm) 0 1 1 enable memory block-programming feature for rpcm high 1 0 0 transmit path connection memory low (tpcm low) 1 0 1 transmit path connection memory high (tpcm high) 1 1 0 transmit path data memory (tpdm) 1 1 1 enable memory block-programming feature for tpcm high ha11-7 high address bits 11-7. these bits select which 128 byte page of the selected memory (see sel2-0 bits) will be accessed by the cpu. used along with ad0-ad6 input lines to address the MT90840 internal memories when the address bit ad<7> is high. see rpcm, tpcm, rpdm and tpdm address mapping section for more details. to address serial time slots in tpdm or rpcm: to address parallel time slots in rpdm or tpcm: serial port data rate number of serial port input and output streams ha bits and input address lines, or tpcm address bits, used to select st stream. ha bits and input address lines, or tpcm address bits, used to select the time slot. 2 mbps balanced 8i x 8o (256 channels) ha7 + ad6-ad5 / ab7-ab5 ad4-ad0 / ab4-ab0 (32 time slots) 2 mbps add/drop 16 i/o (512 channels) ha8-ha7 + ad6-ad5 / ab8-ab5 ad4-ad0 / ab4-ab0 (32 time slots) 4 mbps 8i x 8o (512 channels) ha8-ha7 + ad6 / ab8-ab6 ad5-ad0 / ab5-ab0 (64 time slots) 8 mbps 4i x 4o (512 channels) ha8-ha7 / ab8-ab7 ad6-ad0 / ab6-ab0 (128 time slots) parallel port data rate number of channels ha bits and input address lines used to select channel in tpcm. rpcm address bits used to select chan- nel. 19.44 mbyte/s 2430 ha11-ha7 + ad6-ad0 ab11-ab0 16.384 mbyte/s 2048 ha10-ha7 + ad6-ad0 ab10-ab0 6.480 mbyte/s 810 ha9-ha7 + ad6-ad0 ab9-ab0 control register (cr) - read/write 7 6 5 4 3 2 1 0 sel1 sel0 ha11 ha10 ha8 sel2 ha9 ha7 psd10-0 phase status data 10-0. the psd bits represent the phase status of the serial port, as sampled at every second ppfri frame (every 250 m sec). psd0 is the phase of the internal 4.096 mhz clock, psd1-9 count the cycles of the 4.096 mhz within a frame, and psd10 toggles each frame (even/odd frame bit). the psd bits enable the cpu to monitor the relative phases of the receive parallel port and the serial port. this is especially useful in tm1, where the psd bits might be used by the cpu to monitor a pll control loop, since the elastic buffer in the receive parallel port allows great variation in phase. these registers should be read twice in succession, in case the cpu access occurs close to the sampling edge. phase status registers (psd) - read only 7 6 5 4 3 2 1 0 psd6 psd5 psd4 psd3 psd1 psd7 psd2 psd0 7 6 5 4 3 2 1 0 0 0 0 0 0 psd9 psd10 psd8 register address 8 (low byte) register address 9 (high 3-bits)
data sheet MT90840 2-259 internal memory description oe/cto0 output enable. provides per channel tristate control on the parallel port side. it controls the MT90840 parallel output drivers to disable (tristate, when low) or enable (when high) the transmission of data from the device. the contents of this bit will also be clocked out on the cto0 output pin at the parallel port rate. ppby parallel port bypass enable. indicates that the parallel output channel is going to contain bypassed (ppby=high) data from the receive parallel port of the MT90840. the channels that are not bypassed (ppby=low) can be used for switching of data from the serial port side, or for message-mode data. the use of this bit is only allowed in timing modes 1 and 2. the ppby bit is overridden by mc set high. mc message channel. the message channel contents are programmed by the cpu into the tp connection memory low. if mc=1 the contents of the corresponding location of tpcm low are output on the corresponding channel at the transmit parallel port. if mc=low, the contents of the programmed location in tpcm low act as an address for the data memory, and so determine the source channel for this output channel. depending on the timing mode selected, the source of the connection can be an input channel from either serial (tm1, 2, or 3) or parallel (tm4) data ports. this bit overrides ppby if both are set high. cto1-3 external control lines 1-3. these three bits are used by the cpu to program the three external control pins cto1-3. like oe/cto0, the contents of these lines will be transmitted to pins cto1-3 at the parallel port rate. note : cto2 and cto3 cannot be used in timing mode 4. ab8-11 source channel address bits 8-11. these bits are used along with bits ab0-7 in tpcm low to select the source channel for this output channel. in all timing modes except tm4, only bit ab8 is used, along with bits ab0-7 in tpcm low, to select one of 512 serial source channels from the serial port side to be transmitted on this output channel. transmit path connection memory high (tpcm high) - this is an 8-bit x 2430-position memory. 7 6 5 4 3 2 1 0 ppby mc cto1 cto2/ ab9 oe/ ab8 cto0 ab11 cto3/ ab10 (tx path cm high) ab7-0 source channel address bits. in timing modes 1, 2, and 3, these 8 bits are used along with bit ab8 in the tpcm high to select up to 512 serial source channels from the serial port side to be connected to any 512 (out of 2430) output channels available on the parallel port side. see table for details. in timing mode 4, these 8 bits are used along with bits ab8-11 in the tpcm high memory to select up to 2430 source channels from the parallel port input to be connected to any of the 2430 channels available on the parallel port output side. if message mode is selected at tpcm high bits, the contents of the ab0-7 bits in the tpcm low locations are transmitted to the corresponding channels at the pdo0-7 lines until the mode is changed by the cpu. use of the tpcm high and low address bits when selecting source serial-port channels (tm1, tm2 and tm3) serial stream and channel allocation source stream addressing source channel addressing 2 mbps 16 i/o (512 channels) ab5,ab6,ab7,ab8 (up to 16 streams) ab0 to ab4 used to select up to 32 channels per stream 4 mbps 8i x 8o (512 channels) ab6, ab7, ab8 used to select up to 8 streams ab0 to ab5 used to select up to 64 channels per stream 8 mbps 4i x 4o (512 channels) ab7, ab8 used to select up to 4 streams ab0 to ab6 used to select up to 128 channels per stream source channel addressing in tm4 6.48 mbyte/s ab0-ab9 (one of 810 input channels) 16.384 mbyte/s ab0 - ab10 (one of 2048 input channels) 19.44 mbyte/s ab0 - ab11 (one of 2430 input channels) transmit path connection memory low (tpcm low) - this is an 8-bit x 2430-position memory. 7 6 5 4 3 2 1 0 ab6 ab5 ab4 ab3 ab1 ab7 ab2 ab0 (tx path cm low)
MT90840 data sheet 2-260 mc message channel: the message channel contents are provided by the cpu in bits ab0-7 in the rx path connection memory low. if mc is high, the contents of the corresponding location of rpcm low are output on this serial port channel. if mc is low, the contents of the corresponding location in rpcm low act as an address for the rx path data memory and so determine the source of the connection (input channels from the pdi0-7 port). dc direction control: dc set high indicates this channel is an output. dc set low indicates this channel is an input. the operation of this bit is modified by the state of fdc in the ims register. when fdc = low (2.048, 4.096 or 8.192 mbps) the 512 dc bits (256 at 2.048) each define the direction of a pair of pins for each channel. when dc is set low the associated channel on the sto pin becomes an input, and the corresponding channel on the same-number sti pin is automatically used as the output for this time slot. when dc is set high, sto is the output, and sti is the input for this time slot (default). when fdc = high (2.048 mbps), the 512 dc bits can be used to control the direction of each individual 64 kbps time slot present on the 16 serial i/o lines on a non-symmetrical basis; i.e. all 512 channels can be configured as outputs or inputs or any mixed combination. if dc is low, this serial port channel is defined as input. if dc is high, this channel is defined as output. note that the cpu still has to set oe to enable the output buffers on each channel defined as an output. oe output enable. per-channel tristate control for each channel on the serial port side. if fdc is high, the 512 oe bits enable the output for each of the 512 st channels, unless the channel is defined as an input by the dc bit. in 4.096 and 8.192 mbps modes, the oe bit enables the output buffer either on a sto pin, or an sti pin, as defined by the accompanying dc bit. ab8-11 source channel address. these 4 bits are used along with ab0-7 to select any of the 2430 parallel incoming channels from the parallel port and determine the switch connection to the 512 possible destination channels on the serial port. receive path connection memory high (rpcm high) - this is a 7-bit x 512-position memory. 7 6 5 4 3 2 1 0 mc dc oe ab11 ab9 - ab10 ab8 (rx path cm high) used only in tm1, 2, & 3. ab0-7 source channel address. in switching mode (mc=low), these 8 bits are used along with ab8-11 to select one of the 2430 incoming channels from the parallel port. in message mode (mc=high), these 8 bits are programmed by the cpu with the message patterns desired on the corresponding serial output channel. receive path connection memory low (rpcm low) - this is an 8-bit x 512-position memory. 7 6 5 4 3 2 1 0 ab6 ab5 ab4 ab3 ab1 ab7 ab2 ab0 (rx path cm low) used only in tm1, 2 &3.
data sheet MT90840 2-261 applications distributed isochronous network low latency isochronous backbones provide for the deployment of systems that require cost effective implementation, high bandwidth, predictable data transfer delays and direct synchronization with the wide area network. some applications in computer telephony integration (cti) require a large amount of bandwidth to be transported between multiple chassis within the same location, or between separate locations. the MT90840 is ideal for implementing physically distributed transport and switching systems for multi-chassis or inter-shelf communications. the MT90840 bridges existing zarlink st-bus components into a new networking environment where mixed data, voice and video signals can be time-interchanged or multiplexed from serial pcm streams onto serial high-speed time-division- multiplex (tdm) isochronous backbones operating at sonet rates such as 51 (sts-1) or 155 mbps (sts-3). today, transmission links operating at sonet rates utilize serial-to-parallel and parallel-to-serial converters (or framers) which perform embedded framing functions and give the user access to the payload of the high speed frame. the MT90840 provides an 8-bit bidirectional parallel data port which directly interfaces to a high-speed framer parallel data interface, allowing designers to build distributed networking systems with interconnection speeds up to 155 mbps. figure 16 shows an example of a distributed networking application in a cti system. the MT90840's clock synchronization and reference options allow many applications and topologies when isochronous tdm backbones are required. two major clock synchronization schemes provided by the MT90840 allow the serial port interface (st-bus) to provide the master clock and frame reference signals for the distributed high speed backbone (master operation) or to derive the entire st-bus clock and frame reference signals from the high speed backbone (slave operation). this type of figure 16 - cti distributed architecture implemented with the MT90840 mt8977/9079 t1 & e1 i/f call processing st-bus mt896x filter/codec st-bus iso ethernet mux st-bus lan adapter card pstn 24/30b+d cti server cti server up to 2400 tdm interchassis signalling (e.g. zarlink?s connection cti server switching bus e.g.; mvip 155 mbps framing & optics mt90810 fmic MT90840 mt90810 fmic mt8985/6 edx channels of user data master software) filter/codec mt8930 / 71 (2b+d) i/f
MT90840 data sheet 2-262 synchronization scheme may be used in applications such as the proposed mvip multi-chassis level 3 interface (mc-3 system) utilizing point-to-point or point-to-multipoint switching connections. when the MT90840 operates in a ring application, the parallel data bypass mode is provided to allow all or part of the received input parallel data to be bypassed to the output parallel port feeding the ring back with the data which is not destined for the local station. the data destined for the local station can be dropped through cpu programming. in this mode, the cpu has full control of the outgoing bandwidth (from the serial interface to the high speed link) so that it does not contend with the bypassed data. * exceeding these values may cause permanent damage. functional operation under these conditions is not implied. ? typical figures are at 25 c and are for design aid only: not guaranteed and not subject to production testing. absolute maximum ratings* parameter symbol min max units 1 supply voltage v dd 0 6 v 2 voltage on any i/o pin v i v ss -0.3 v dd +0.3 v 3 continuous current at digital outputs i o 40 ma 4 storage temperature t s -65 +125 c 5 package power dissipation p d 2 w recommended operating conditions - voltages are with respect to ground (v ss ) unless otherwise stated. characteristics sym min typ max units test conditions 1 operating temperature t op -40 +85 c 2 positive supply v dd 4.75 5.0 5.25 v 3 input voltage v i 0 v dd v dc electrical characteristics - voltages are with respect to ground (v ss ) unless otherwise stated. characteristics sym min typ ? max units test conditions/pins 1 i n p u t s supply current at 19.44 mbyte/sec & 4 mbps i dd 100 160 ma outputs unloaded 2 input high voltage v ih 2.0 v ttl inputs (most pins) 3 input low voltage v il 0.8 v ttl inputs (most pins) 4 input high-going threshold v t+ 2.8 4.2 v schmitt inputs 5 input low-going threshold v t- 0.9 1.8 v schmitt inputs 6 input leakage (i/o pins) i il 50 m a v i between v ss and v dd 7 input pin capacitance c i 10 pf 8 o u t p u t s output high voltage v oh 2.4 v sourcing i oh 9 output low voltage v ol 0.4 v sinking i ol 10 output high current (sourcing at v oh ) or output low current (sinking at v ol ) i oh or i ol 9 ma pins: sti4-7, sto4-7 16 ma tdo, rpa, dta , ad7-0, f0, spcko, sti0-3, sto0-3 28 ma pdo0-7, cto3-0, ppfto 11 high impedance leakage i oz 5 m a v o between v ss and v dd. pins: pdo0-7, cto3-0 12 output pin capacitance c o 10 pf
data sheet MT90840 2-263 ac electrical characteristics - voltages are with respect to ground (v ss ) unless otherwise stated. characteristics sym min typ ? max units test conditions 1 c4/8 input - clock period: 4.096 mhz (2.048 & 4.096 mbps) 8.192 mhz (8.192 mbps) spcko output - clock period from internal divider (2.048 & 4.096 mbps) spcko output - clock period generated from external c4/8 reference (2.048 and 4.096 mbps) t clk 200 100 224 241 244 122 259 245 ns ns ns ns c4/8r1 or c4/8r2 19.44 mhz 60/40% duty-cycle clock at pckr c4/8r1 input with 244 ns cycle 2 c4/8 input clock width high 4.096 mhz (2.048 & 4.096 mbps) 8.192 mhz (8.192 mbps) spcko output - clock width high from internal divider (2.048 & 4.096 mbps) spcko output - clock width high generated from external c4/8 reference (2.048 and 4.096 mbps) t clkh 85 50 101 110 122 61 135 ns ns ns ns c4/8r1 or c4/8r2 19.44 mhz 60/40% duty-cycle clock at pckr c4/8r1 input with min. 115 ns semi-cycle 3 c4/8 input - clock width low 4.096 mhz (2.048 & 4.096 mbps) 8.192 mhz (8.192 mbps) spcko output - clock width low from internal divider (2.048 & 4.096 mbps) spcko output - clock width low generated from external c4/8 reference (2.048 and 4.096 mbps) t clkl 85 50 101 110 122 61 135 ns ns ns ns c4/8r1 or c4/8r2 pckr with 60/40% duty cycle c4/8r1 input with minimum 115 ns half-cycle 4 clk rise/fall time t t 5 ns 5 f0 output delay from spcko (tm2 & tm3, 2.048 and 4.096 mbps) f0 output delay from c4/8 input (tm2 & tm3, 8.192 mbps) t df 32 51 30 46 ns ns c l =30pf c l =150pf c l =30pf c l =150pf 6 f0i setup time from c4/8 input edge tm1 tm2 with sfdi =1 t frs 0 28 ns ns c4/8 falling edge 7 f0i hold time from c4/8 input edge tm1 tm2 with sfdi =1 t frh 8 0 ns ns c4/8 falling edge c4/8 rising or falling 8 f0i input frame pulse width 2.048, 4.096, 8.192 mbps t frw 35 ns 9 sto delay - active to high-z, 2.048 and 4.096 mbps (tm2 &tm3) 2.048 and 4.096 mbps (tm1) 8.192 mbps (stio0-3) t az 38 50 26 ns ns ns c l =30pf, r l =1k
MT90840 data sheet 2-264 ? typical figures are at 25 c and are for design aid only: not guaranteed and not subject to production testing. figure 17 - output test load 10 sto delay from high-z to active 2.048 and 4.096 mbps (tm2 &tm3) 2.048 and 4.096 mbps (tm1) 8.192 mbps (stio0-3) t za 38 50 26 ns ns ns c l =30pf, r l =1k 11 sto output delay from spcko (tm2 & tm3, 2.048 and 4.096 mbps) sto output delay from 4.096 mhz c4/8 input (tm1) sto 8.192 mbps output delay from c4/8 input (tm1, 2 & 3; sti/o0-3) t sod 40 64 52 72 28 43 ns ns ns ns ns ns c l =30pf c l =150pf c l =30pf c l =150pf c l =30pf c l =150pf 12 sti input setup time from spcko output edge (2.048 and 4.096 mbps) sti input setup time from c4/8 input edge in tm1 ( 2.048 and 4.096 mbps) sti input setup time from c4/8 input edge at 8.192 mbps (sti/o0-3) t stis 28 41 0 0 ns ns ns spcko c l =30pf spcko c l =150pf tm1 and tm2, sti0-3, sto0-3 13 sti input hold time from spcko output edge (2.048 and 4.096 mbps) sti input hold time from c4/8 input edge in tm1 ( 2.048 and 4.096 mbps) sti input hold time from c4/8 input edge at 8.192 mbps t stih 9 2 20 13 ns ns ns spcko c l =30pf spcko c l =150pf tm1 and tm2, sti0-3, sto0-3 ac electrical characteristics - voltages are with respect to ground (v ss ) unless otherwise stated. characteristics sym min typ ? max units test conditions output pin test point c l v ss s1 r l v dd s2 v ss s1 is open circuit except when testing output levels or high impedance states. s2 is switched to vdd or v ss when testing output levels or high impedance states .
data sheet MT90840 2-265 figure 18 - serial port timing for 2.048 mbps operation - tm2 (sfdi = 1) and tm1 c4/8r1 t frw sti0-7 sto0-7 (4.096 mhz) bit 7, ch. 0 bit 0, ch. 31 bit 7, ch. 0 bit 0, ch. 31 t stih t stis t clkh serial port with negative polarity f0 (st-bus) t sod t frh t frs t clk t clkl t t sto0-7 c4/8r1 (4.096 mhz) sti0-7 t stis t stih f0i input t frs t frh t frw bit 7, ch. 0 bit 6, ch. 0 bit 7, ch. 0 bit 0, ch. 31 bit 0, ch. 31 t t serial port with positive polarity f0 (gci) (8 khz) t clkh t clk t clkl t sod note: in tm2 with sfdi=1, c4/8r1 may have reversed polarity from that shown. foi input (8 khz)
MT90840 data sheet 2-266 figure 19 - serial port timing for 2.048 mbps - tm2 (sfdi = 0) and tm3 t sod sto0-7 spcko (4.096 mhz) sti0-7 t stis t stih f0o output bit 7, ch. 0 bit 6, ch. 0 bit 7, ch.0 bit 0, ch.31 bit 0, ch. 31 serial port with positive polarity f0 (gci) t df (8 khz) t df t t t clkh t clkl t clk spcko t t sti0-7 sto0-7 (4.096 mhz) bit 7, ch. 0 bit 0, ch. 31 serial port with negative polarity f0 (st-bus) t df t df t clkh t clk t clkl t stih t stis t sod bit 0, ch. 31 bit 7, ch. 0 f0ooutput (8 khz)
data sheet MT90840 2-267 figure 20 - serial port timing for 4.096 mbps operation - tm2 (sfdi = 1) and tm1 sto0-7 c4/8r1 (4.096 mhz) sti0-7 f0i input bit 0, ch. 63 bit 7, ch. 0 bit 6, ch. 0 bit 7, ch. 0 sto0-7 c4/8r1 (4.096 mhz) sti0-7 f0i input bit 7, ch. 0 (8 khz) (8 khz) serial port with negative polarity f0 (st-bus) serial port with positive polarity f0 (gci) t t t clkh t clk t clkl t stis t stih t frs t frh t frw t sod t clkh t clk t clkl t sod bit 0, ch. 63 bit 7, ch. 0 bit 6, ch. 0 t stis t stih t frs t frh t frw t t note: in tm2 with sfdi=1, c4/8r1 may have reversed polarity from that shown.
MT90840 data sheet 2-268 figure 21 - serial port timing for 4.096 mbps operation - tm2 (sfdi = 0) and tm3 sto0-7 spcko (4.096 mhz) sti0-7 f0o output bit 7, ch. 0 bit 6, ch. 0 bit 7, ch. 0 sto0-7 spcko (4.096 mhz) sti0-7 f0o output bit7, ch. 0 (8 khz) (8 khz) f0 frame sync with negative polarity (spfp = 0) f0 frame sync with positive polarity (spfp = 1) t clkh t clk t clkl t stis t stih t sod t clkh t clk t clkl t sod bit 0, ch. 63 bit 7, ch. 0 bit 6, ch. 0 t stis t stih t t t t bit 0, ch. 63 t df t df t df t df
data sheet MT90840 2-269 figure 22 - serial port timing for 8.192 mbps - tm1 and tm2 (sfdi = 1) figure 23 - per-channel tristate characteristics at all data rates sto0-7 c4/8r1 (8.192 mhz) sti0-7 f0i input bit 0, ch.127 bit 7, ch. 0 bit 6, ch. 0 bit 7 (8 khz) note: polarity of f0i is automatically detected in tm1. t stis t stih t frs t frh t frw t sod t t t clkh t clk t clkl expected polarity of f0i in tm2 (sfdi=1) must be programmed with spfp bit in gpm register. sto0-7 sto0-7 c4/8 t za t az hi-z hi-z valid data valid data (st-bus) c4/8 (gci)
MT90840 data sheet 2-270 figure 24 - serial port timing for 8.192 mbps - timing modes 2 and 3 sto0-7 c4/8r1** (8.192 mhz sti0-7 f0o output bit 0, ch.127 bit 7, ch. 0 bit 6, ch. 0 bit 7 (8 khz) frame sync with positive polarity (spfp = 1) t stis t stih t df t df t sod t t t clkh t clk t clkl sto0-7 c4/8r1** (8.192 mhz sti0-7 f0o output bit 7, ch. 0 bit 6, ch. 0 bit 7 (8 khz) frame sync with negative polarity (spfp = 0) t stis t stih t df t df t sod t t t clkh t clk t clkl reference) bit 0, ch.127 ** in tm2 and tm3 operation at 8.192 mbps, the f0 output signal is clocked by the c4/8r1 in put reference provided by the user. (in 8.192 mbps applications, the spcko output signal is not used.) reference)
data sheet MT90840 2-271 figure 25 - timing for the parallel port external control lines cto0-3 figure 26 - tm1 parallel port transmit timing (tm1 & pfdi = 1, ppft is an input) figure 27 - parallel port transmit timing (pfdi = 0, ppft is an output) pdo0-7 cto0-3 pckt/pckr tcp controls the clock-edge on which the output changes. byte m-1 byte m byte m+1 tcp = 1 pdo0-7 cto0-3 byte m-1 byte m byte m+1 cto corresponding to byte m cto corresponding to byte m+1 pckt/pckr t cdf tcp = 0 t cdf cto corresponding to byte m cto corresponding to byte m+1 byte 0 t sod pdo0-7 byte 1 t ppfh pckt ppfti (ppfp=1) t az t clkh t clk t clkl t za t ppfs tristate tristate byte n n = 2429, 2047, or 809 byte 0 t sod pdo0-7 byte n byte 1 t df t df pckt/pckr ppfto (ppfp=1) t df t df note: the depicted output timing occurs when tcp = 0. if tcp = 1, the byte at pdo0-7 port and the ppft line will be output on the falling edge of the pckt/pckr clock. t az t za t clkh t clk t clkl tristate tristate ppfto (ppfp=0)
MT90840 data sheet 2-272 figure 28 - parallel port receive timing ? typical figures are at 25 c and are for design aid only: not guaranteed and not subject to production testing. ac electrical characteristics - parallel data port characteristics sym min typ ? max units test conditions 1 pckt/pckr clock period t clk 50 ns 2 pckt /pckr high time t clkh 20 ns 3 pckt /pckr low time t clkl 20 ns 4 ppfto output delay from pckr/pckt transmit edge t df 28 30 ns c l =30pf c l =50pf 5 pdo output delay from pckr/pckt transmit edge t sod 28 30 ns c l =30pf c l =50pf 6 cto0-3 output delay from pckr/pckt transmit edge t cdf 26 28 ns c l =30pf c l =50pf 7 pdo delay from active to high-z t za 26 ns c l =30pf, r l =1k 8 pdo delay from high-z to active t az 28 ns c l =30pf, r l =1k 9 ppfri setup time from pckr sampling edge t frs 5 ns 10 ppfri hold time from pckr sampling edge t frh 8 ns 11 pdi set-up time from pckr sampling edge t stis 5 ns 12 pdi hold time from pckr sampling edge t stih 8 ns 13 ppfti input setup time from pckt sampling edge t ppfs 5 ns tm1, pfdi = 1 14 ppfti input hold time from pckt sampling edge t ppfh 5 ns tm1, pfdi = 1 15 jitter between pckt/pckr and c4 serial port clock. t pv -100 +100 ns c4/8r1 or c4/8r2 at 4.096 mhz with 50% duty cycle pckr t clkh t clk t clkl pdi0-7 t stis t stih byte 0 byte 1 ppfri t fs t fh
data sheet MT90840 2-273 figure 29 - parallel port in timing mode 4 figure 30 - phase variation between c4/8r1 & c4/8r2 and pckt inputs for tm1 operation figure 31 - phase variation between c4 and pckr inputs for tm2 operation ppfri ppft pckr tcp = 0 ppft tcp = 1 note: for the ppft depicted above, ppfp = high. if ppfp is low, the ppft line will have negative pulse polarity. t df t df pckt c4/8r1 or c4/8r2 ppfto t pv (st-bus mode) t pv pdo7-0 0 n n-1 1 2 n-2 note: the MT90840 will correct phase relation in tm1 by moving ppfto (by moving f0o in tm2 andtm3). ch. 3 bit 1 ch. 3 bit 0 (4 mbps) ch. 4 bit 7 sto (4 mbps) pckr spcko ppfri t pv (st-bus mode) t pv pdi7-0 0 n n-1 1 2 note: the MT90840 will correct phase relation in tm2 by inverting spcko w.r.t. c4/8r1 or c4/8r2. ch. 61 bit 2 ch. 61 bit 1 (4 mbps) ch. 61 bit 0 sto (4 mbps)
MT90840 data sheet 2-274 ? timing is over recommended temperature & power supply voltages. ? typical figures are at 25 c and are for design aid only: not guaranteed and not subject to production testing. * high impedance is measured by pulling to the appropriate rail with r l , with timing corrected to cancel time taken to discharge c l . ** individual writes to connection memories will have register acknowledgment delay. burst writes to connection memories will have read connection memory acknowledgment delay. ac electrical characteristics ? - intel/national- hpc multiplexed bus mode voltages are with respect to ground (v ss ) unless otherwise stated. characteristics sym min typ ? max units test conditions/ notes 1 ale pulse width t alw 10 ns 2 address setup from ale falling t ads 5 ns 3 address hold from ale falling t adh 5 ns 4 rd active after ale falling t alrd 15 ns 5 data setup from dta low on read t ddr 0 ns c l =150 pf on dta , and 30 pf on ad0-7. 6 cs hold after rd / wr t csrw 0 ns 7 cs setup from rd t csr 0 ns 8 data hold after rd t dhr 10 15 22 30 ns ns c l =30 pf c l =150 pf 9 wr delay after ale falling t alwr 15 ns 10 cs setup from wr t csw 0 ns 11 data setup from wr t dsw 10 ns 12 data hold after wr inactive t dhw 0 ns 13 rd / wr inactive to ale falling edge t rst 23 ns 14 acknowledgment hold time t akh 0 20 ns c l =150 pf, r l =1k w* 15 data delay on reading registers t rdd 47 68 ns ns c l =30 pf c l =150 pf 16 acknowledgment delay reading registers acknowledgment delay writing registers t akd-rd t akd-wr 73 85 32 41 ns ns ns ns c l =30 pf c l =150 pf c l =30 pf c l =150 pf 17 acknowledgment delay - memories: reading tp data memory reading rp data memory reading tp connection memory reading rp connection memory writing tp connection memory** writing rp connection memory** t akd-mem 244 122 1 clock cycle 244 t akd-wr t akd-wr 488 366 2 clock cycles 488 1306 1062 3 clk cyc + t akd-rd 817 3 clk cyc + t akd-wr 774 ns ns ns ns 1 to 5 c4 cycles + register t akd-rd .5 to 4 c4 cycles + register t akd-rd 1 to 3 pckt/r cycles + register t akd-rd 1 to 3 c4 cycles + register t akd-rd up to 3 pckt/r cyc. + register t akd-wr up to 3 c4 cycles + register t akd-wr
data sheet MT90840 2-275 figure 32 - intel/national multiplexed bus timing ale ad0- ad7 cs rd wr dta t alw t ads t adh data address t alrd t csrw t dhr t dhw t csw t alwr t akd t ddr t akh 2.0v 0.8v 2.0v 0.8v 2.0v 0.8v 2.0v 0.8v 2.0v 0.8v 2.0v 0.8v t dsw t csr t rst t rdd
MT90840 data sheet 2-276 ? timing is over recommended temperature & power supply voltages. ? typical figures are at 25 c and are for design aid only: not guaranteed and not subject to production testing. * high impedance is measured by pulling to the appropriate rail with r l , with timing corrected to cancel time taken to discharge c l . ** individual writes to connection memories will have register acknowledgment delay. burst writes to connection memories will have read connection memory acknowledgment delay. ac electrical characteristics ? - motorola multiplexed bus mode voltages are with respect to ground (v ss ) unless otherwise stated. characteristics sym min typ ? max units test conditions/ notes 1 as pulse width t asw 10 ns 2 address setup from as falling t ads 5 ns 3 address hold from as falling t adh 5 ns 4 data setup from dta low on read t ddr 0 ns c l =150 pf on dta , 30 pf on ad0-7. 5 cs hold after ds falling t csh 0 ns 6 cs setup from ds rising t css 0 ns 7 data setup on write t dsw 10 8 data hold after write t dhw 0 ns 9 ds inactive to as falling edge t dss 23 ns 10 r/ w setup from ds rising t rws 5 ns 11 r/ w hold after ds falling t rwh 5 ns 12 data hold after read t dhr 10 15 22 30 ns ns c l =30 pf c l =150 pf 13 ds delay after as falling t dsh 15 ns 14 acknowledgment hold time t akh 0 20 ns c l =150 pf, r l =1k w* 15 acknowledgment delay: writing registers acknowledgment delay: reading registers t akd-wr t akd-rd 32 41 73 85 ns ns ns ns c l =30 pf c l =150 pf c l =30 pf c l =150 pf 16 memory acknowledgment delay t akd-mem reading tp data memory reading rp data memory reading tp connection memory reading rp connection memory writing tp connection memory** writing rp connection memory** 244 122 1 clock cycle 244 t akd-wr t akd-wr 488 366 2 clock cycles 488 1306 1062 3 clk cyc + t akd-rd 817 3 clk cyc + t akd-wr 774 ns ns ns ns 1 to 5 c4 cycles + register t akd-rd .5 to 4 c4 cycles + register t akd-rd 1 to 3 pckt/r cycles + register t akd-rd 1 to 3 c4 cycles + register t akd-rd up to 3 pckt/r cyc. + register t akd-wr up to 3 c4 cycles + register t akd-wr
data sheet MT90840 2-277 figure 33 - motorola multiplexed bus timing cs dta ad0-13 rd ds r/ w as address address data data t rwh t rws t asw t dsh t ads t adh t dhw t dhr t css t csh t akd t akh t ddr 2.0v 0.8v 2.0v 0.8v 2.0v 0.8v 2.0v 0.8v 2.0v 0.8v 2.0v 0.8v 2.0v 0.8v ad0-7 wr t dss
MT90840 data sheet 2-278 figure 34 - boundary scan test port timing figure 35 - reset timing ac electrical characteristics - boundary-scan test port and reset pin parameter symbol min max units test conditions 1 tck period width t tclk 100 ns 2 tck period width low t tclkl 40 ns 3 tck period width high t tclkh 40 ns 4 tdi setup time to tck rising t disu 2 ns 5 tdi hold time after tck rising t dih 33 ns 6 tms setup time to tck rising t mssu 2 ns 7 tms hold time after tck rising t msh 5 ns 8 tdo delay from tck falling t dod 20 ns c l = 30 pf 9 trst pulse width t trst 15 ns 10 reset pulse width t rst 15 ns t mssu tdi tdo tms tck t disu t msh t dih t dod t tclkh t tclkl t tclk trst t trst res t rst


www.zarlink.com information relating to products and services furnished herein by zarlink semiconductor inc. or its subsidiaries (collectively ?zarlink?) is believed to be reliable. however, zarlink assumes no liability for errors that may appear in this publication, or for liability otherwise arising from t he application or use of any such information, product or service or for any infringement of patents or other intellectual property rights owned by third parties which may result from such application or use. neither the supply of such information or purchase of product or service conveys any license, either express or implied, u nder patents or other intellectual property rights owned by zarlink or licensed from third parties by zarlink, whatsoever. purchasers of products are also hereby notified that the use of product in certain ways or in combination with zarlink, or non-zarlink furnished goods or services may infringe patents or other intellect ual property rights owned by zarlink. this publication is issued to provide information only and (unless agreed by zarlink in writing) may not be used, applied or re produced for any purpose nor form part of any order or contract nor to be regarded as a representation relating to the products or services concerned. the products, t heir specifications, services and other information appearing in this publication are subject to change by zarlink without notice. no warranty or guarantee express or implied is made regarding the capability, performance or suitability of any product or service. information concerning possible methods of use is provided as a guide only and does not constitute any guarantee that such methods of use will be satisfactory in a specific piece of equipment. it is the user?s responsibility t o fully determine the performance and suitability of any equipment using such information and to ensure that any publication or data used is up to date and has not b een superseded. manufacturing does not necessarily include testing of all functions or parameters. these products are not suitable for use in any medical products whose failure to perform may result in significant injury or death to the user. all products and materials are sold and services provided subject to zarlink?s conditi ons of sale which are available on request. purchase of zarlink?s i 2 c components conveys a licence under the philips i 2 c patent rights to use these components in and i 2 c system, provided that the system conforms to the i 2 c standard specification as defined by philips. zarlink, zl and the zarlink semiconductor logo are trademarks of zarlink semiconductor inc. copyright zarlink semiconductor inc. all rights reserved. technical documentation - not for resale for more information about all zarlink products visit our web site at


▲Up To Search▲   

 
Price & Availability of MT90840

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X